| Mini51 BSP V3.02.002 The Board Support Package for Mini51 Series

Macros
SYS Exported Constants
MINI51 Device Driver » SYS Driver

## Macros
#define | ADC_RST ((0x4<<24) | SYS_IPRSTC2_ADC_RST_Pos )
#define | ACMP_RST ((0x4<<24) | SYS_IPRSTC2_ACMP_RST_Pos )
#define | PWM_RST ((0x4<<24) | SYS_IPRSTC2_PWM_RST_Pos )
#define | UART_RST ((0x4<<24) | SYS_IPRSTC2_UART_RST_Pos )
#define | SPI_RST ((0x4<<24) | SYS_IPRSTC2_SPI_RST_Pos )
#define | I2C_RST ((0x4<<24) | SYS_IPRSTC2_I2C_RST_Pos )
#define | TMR1_RST ((0x4<<24) | SYS_IPRSTC2_TMR1_RST_Pos )
#define | TMR0_RST ((0x4<<24) | SYS_IPRSTC2_TMR0_RST_Pos )
#define | GPIO_RST ((0x4<<24) | SYS_IPRSTC2_GPIO_RST_Pos )
#define | SYS_BODCR_BOD_RST_EN (1UL<<SYS_BODCR_BOD_RSTEN_Pos)
#define | SYS_BODCR_BOD_INTERRUPT_EN (0UL<<SYS_BODCR_BOD_RSTEN_Pos)
#define | SYS_BODCR_BOD_DISABLE (3UL<<SYS_BODCR_BOD_VL_Pos)
#define | SYS_BODCR_BOD_VL_4_4V (3UL<<SYS_BODCR_BOD_VL_Pos)
#define | SYS_BODCR_BOD_VL_3_7V (2UL<<SYS_BODCR_BOD_VL_Pos)
#define | SYS_BODCR_BOD_VL_2_7V (1UL<<SYS_BODCR_BOD_VL_Pos)
#define | SYS_BODCR_BOD_VL_2_2V (0UL<<SYS_BODCR_BOD_VL_Pos)
#define | SYS_MFP_TYPE_Msk(bit) (1UL << ((bit) +16))
#define | SYS_MFP_ALT_Msk(bit) (1UL << ((bit) + 8))
#define | SYS_MFP_MFP_Msk(bit) (1UL << ((bit) ))
#define | SYS_MFP_P00_GPIO 0x00000000UL
#define | SYS_MFP_P00_CTS 0x00000100UL
#define | SYS_MFP_P00_TXD 0x00000101UL
#define | SYS_MFP_P00_Msk 0x01000101UL
#define | SYS_MFP_P01_GPIO 0x00000000UL
#define | SYS_MFP_P01_SPISS 0x00000002UL
#define | SYS_MFP_P01_RTS 0x00000200UL
#define | SYS_MFP_P01_RXD 0x00000202UL
#define | SYS_MFP_P01_Msk 0x02000202UL
#define | SYS_MFP_P04_GPIO 0x00000000UL
#define | SYS_MFP_P04_SPISS 0x00001000UL
#define | SYS_MFP_P04_PWM5 0x00001010UL
#define | SYS_MFP_P04_Msk 0x00001010UL
#define | SYS_MFP_P05_GPIO 0x00000000UL
#define | SYS_MFP_P05_MOSI 0x00002000UL
#define | SYS_MFP_P05_Msk 0x00002020UL
#define | SYS_MFP_P06_GPIO 0x00000000UL
#define | SYS_MFP_P06_MISO 0x00004000UL
#define | SYS_MFP_P06_Msk 0x00004040UL
#define | SYS_MFP_P07_GPIO 0x00000000UL
#define | SYS_MFP_P07_SPICLK 0x00008000UL
#define | SYS_MFP_P07_Msk 0x00008080UL
#define | SYS_MFP_P10_GPIO 0x00000000UL
#define | SYS_MFP_P10_AIN1 0x00000001UL
#define | SYS_MFP_P10_CPP0 0x00000101UL
#define | SYS_MFP_P10_Msk 0x00000101UL
#define | SYS_MFP_P12_GPIO 0x00000000UL
#define | SYS_MFP_P12_AIN2 0x00000004UL
#define | SYS_MFP_P12_RXD 0x00000400UL
#define | SYS_MFP_P12_CPP0 0x00000404UL
#define | SYS_MFP_P12_Msk 0x00000404UL
#define | SYS_MFP_P13_GPIO 0x00000000UL
#define | SYS_MFP_P13_AIN3 0x00000008UL
#define | SYS_MFP_P13_TXD 0x00000800UL
#define | SYS_MFP_P13_CPP0 0x00000808UL
#define | SYS_MFP_P13_Msk 0x00000808UL
#define | SYS_MFP_P14_GPIO 0x00000000UL
#define | SYS_MFP_P14_AIN4 0x00000010UL
#define | SYS_MFP_P14_CPN0 0x00001010UL
#define | SYS_MFP_P14_Msk 0x00001010UL
#define | SYS_MFP_P15_GPIO 0x00000000UL
#define | SYS_MFP_P15_AIN5 0x00000020UL
#define | SYS_MFP_P15_CPP0 0x00002020UL
#define | SYS_MFP_P15_Msk 0x00002020UL
#define | SYS_MFP_P22_GPIO 0x00000000UL
#define | SYS_MFP_P22_PWM0 0x00000400UL
#define | SYS_MFP_P22_Msk 0x00000404UL
#define | SYS_MFP_P23_GPIO 0x00000000UL
#define | SYS_MFP_P23_PWM1 0x00000800UL
#define | SYS_MFP_P23_Msk 0x00000808UL
#define | SYS_MFP_P24_GPIO 0x00000000UL
#define | SYS_MFP_P24_PWM2 0x00001000UL
#define | SYS_MFP_P24_Msk 0x00001010UL
#define | SYS_MFP_P25_GPIO 0x00000000UL
#define | SYS_MFP_P25_PWM3 0x00002000UL
#define | SYS_MFP_P25_Msk 0x00002020UL
#define | SYS_MFP_P26_GPIO 0x00000000UL
#define | SYS_MFP_P26_PWM4 0x00004000UL
#define | SYS_MFP_P26_CPO1 0x00004040UL
#define | SYS_MFP_P26_Msk 0x00004040UL
#define | SYS_MFP_P30_GPIO 0x00000000UL
#define | SYS_MFP_P30_CPN1 0x00000100UL
#define | SYS_MFP_P30_AIN6 0x00000101UL
#define | SYS_MFP_P30_Msk 0x00000101UL
#define | SYS_MFP_P31_GPIO 0x00000000UL
#define | SYS_MFP_P31_CPP1 0x00000200UL
#define | SYS_MFP_P31_AIN7 0x00000202UL
#define | SYS_MFP_P31_Msk 0x00000202UL
#define | SYS_MFP_P32_GPIO 0x00000000UL
#define | SYS_MFP_P32_INT0 0x00000004UL
#define | SYS_MFP_P32_T0EX 0x00000400UL
#define | SYS_MFP_P32_STADC 0x00000404UL
#define | SYS_MFP_P32_CPP1 0x01000000UL
#define | SYS_MFP_P32_Msk 0x01000404UL
#define | SYS_MFP_P34_GPIO 0x00000000UL
#define | SYS_MFP_P34_T0 0x00000010UL
#define | SYS_MFP_P34_SDA 0x00001000UL
#define | SYS_MFP_P34_CPP1 0x00001010UL
#define | SYS_MFP_P34_Msk 0x00001010UL
#define | SYS_MFP_P35_GPIO 0x00000000UL
#define | SYS_MFP_P35_T1 0x00000020UL
#define | SYS_MFP_P35_SCL 0x00002000UL
#define | SYS_MFP_P35_CPP1 0x00002020UL
#define | SYS_MFP_P35_Msk 0x00002020UL
#define | SYS_MFP_P36_GPIO 0x00000000UL
#define | SYS_MFP_P36_T1EX 0x00000040UL
#define | SYS_MFP_P36_CKO 0x00004000UL
#define | SYS_MFP_P36_CPO0 0x00004040UL
#define | SYS_MFP_P36_Msk 0x00004040UL
#define | SYS_MFP_P46_GPIO 0x00000000UL
#define | SYS_MFP_P46_ICE_CLK 0x00000040UL
#define | SYS_MFP_P46_Msk 0x00004040UL
#define | SYS_MFP_P47_GPIO 0x00000000UL
#define | SYS_MFP_P47_ICE_DAT 0x00000080UL
#define | SYS_MFP_P47_Msk 0x00008080UL
#define | SYS_MFP_P50_GPIO 0x00000000UL
#define | SYS_MFP_P50_XTAL1 0x00000001UL
#define | SYS_MFP_P50_Msk 0x00000101UL
#define | SYS_MFP_P51_GPIO 0x00000000UL
#define | SYS_MFP_P51_XTAL2 0x00000002UL
#define | SYS_MFP_P51_Msk 0x00000202UL
#define | SYS_MFP_P52_GPIO 0x00000000UL
#define | SYS_MFP_P52_INT1 0x00000004UL
#define | SYS_MFP_P52_Msk 0x00000404UL
#define | SYS_MFP_P53_GPIO 0x00000000UL
#define | SYS_MFP_P53_AIN0 0x00000008UL
#define | SYS_MFP_P53_Msk 0x00000808UL
#define | SYS_MFP_P54_GPIO 0x00000000UL
#define | SYS_MFP_P54_Msk 0x00001010UL
#define | SYS_MFP_P55_GPIO 0x00000000UL
#define | SYS_MFP_P55_Msk 0x00002020UL

## Detailed Description

## Macro Definition Documentation

## ◆ ACMP_RST

#define ACMP_RST ((0x4<<24) | SYS_IPRSTC2_ACMP_RST_Pos )

ACMP reset is one of the SYS_ResetModule parameter

Definition at line 35 of file sys.h.

## ◆ ADC_RST

#define ADC_RST ((0x4<<24) | SYS_IPRSTC2_ADC_RST_Pos )

ADC reset is one of the SYS_ResetModule parameter

Definition at line 34 of file sys.h.

## ◆ GPIO_RST

#define GPIO_RST ((0x4<<24) | SYS_IPRSTC2_GPIO_RST_Pos )

GPIO reset is one of the SYS_ResetModule parameter

Definition at line 42 of file sys.h.

## ◆ I2C_RST

#define I2C_RST ((0x4<<24) | SYS_IPRSTC2_I2C_RST_Pos )

I2C reset is one of the SYS_ResetModule parameter

Definition at line 39 of file sys.h.

## ◆ PWM_RST

#define PWM_RST ((0x4<<24) | SYS_IPRSTC2_PWM_RST_Pos )

PWM reset is one of the SYS_ResetModule parameter

Definition at line 36 of file sys.h.

## ◆ SPI_RST

#define SPI_RST ((0x4<<24) | SYS_IPRSTC2_SPI_RST_Pos )

SPI reset is one of the SYS_ResetModule parameter

Definition at line 38 of file sys.h.

## ◆ SYS_BODCR_BOD_DISABLE

#define SYS_BODCR_BOD_DISABLE (3UL<<SYS_BODCR_BOD_VL_Pos)

Disable Brown Out Detector

Definition at line 50 of file sys.h.

## ◆ SYS_BODCR_BOD_INTERRUPT_EN

#define SYS_BODCR_BOD_INTERRUPT_EN (0UL<<SYS_BODCR_BOD_RSTEN_Pos)

Brown-out Interrupt Enable

Definition at line 49 of file sys.h.

## ◆ SYS_BODCR_BOD_RST_EN

#define SYS_BODCR_BOD_RST_EN (1UL<<SYS_BODCR_BOD_RSTEN_Pos)

Brown-out Reset Enable

Definition at line 48 of file sys.h.

## ◆ SYS_BODCR_BOD_VL_2_2V

#define SYS_BODCR_BOD_VL_2_2V (0UL<<SYS_BODCR_BOD_VL_Pos)

Setting Brown Out Detector Threshold Voltage as 2.2V

Definition at line 54 of file sys.h.

## ◆ SYS_BODCR_BOD_VL_2_7V

#define SYS_BODCR_BOD_VL_2_7V (1UL<<SYS_BODCR_BOD_VL_Pos)

Setting Brown Out Detector Threshold Voltage as 2.7V

Definition at line 53 of file sys.h.

## ◆ SYS_BODCR_BOD_VL_3_7V

#define SYS_BODCR_BOD_VL_3_7V (2UL<<SYS_BODCR_BOD_VL_Pos)

Setting Brown Out Detector Threshold Voltage as 3.7V

Definition at line 52 of file sys.h.

## ◆ SYS_BODCR_BOD_VL_4_4V

#define SYS_BODCR_BOD_VL_4_4V (3UL<<SYS_BODCR_BOD_VL_Pos)

Setting Brown Out Detector Threshold Voltage as 4.4V

Definition at line 51 of file sys.h.

## ◆ SYS_MFP_ALT_Msk

#define SYS_MFP_ALT_Msk | ( |  | bit | ) | (1UL << ((bit) + 8))

ALT mask for Multiple Function Port

Definition at line 61 of file sys.h.

## ◆ SYS_MFP_MFP_Msk

#define SYS_MFP_MFP_Msk | ( |  | bit | ) | (1UL << ((bit) ))

MFP mask for Multiple Function Port

Definition at line 62 of file sys.h.

## ◆ SYS_MFP_P00_CTS

#define SYS_MFP_P00_CTS 0x00000100UL

P0_MFP pin 0 setting for CTS

Definition at line 65 of file sys.h.

## ◆ SYS_MFP_P00_GPIO

#define SYS_MFP_P00_GPIO 0x00000000UL

P0_MFP pin 0 setting for GPIO

Definition at line 64 of file sys.h.

## ◆ SYS_MFP_P00_Msk

#define SYS_MFP_P00_Msk 0x01000101UL

P0_MFP pin 0 mask

Definition at line 67 of file sys.h.

## ◆ SYS_MFP_P00_TXD

#define SYS_MFP_P00_TXD 0x00000101UL

P0_MFP pin 0 setting for TXD

Definition at line 66 of file sys.h.

## ◆ SYS_MFP_P01_GPIO

#define SYS_MFP_P01_GPIO 0x00000000UL

P0_MFP pin 1 setting for GPIO

Definition at line 69 of file sys.h.

## ◆ SYS_MFP_P01_Msk

#define SYS_MFP_P01_Msk 0x02000202UL

P0_MFP pin 1 mask

Definition at line 73 of file sys.h.

## ◆ SYS_MFP_P01_RTS

#define SYS_MFP_P01_RTS 0x00000200UL

P0_MFP pin 1 setting for RTS

Definition at line 71 of file sys.h.

## ◆ SYS_MFP_P01_RXD

#define SYS_MFP_P01_RXD 0x00000202UL

P0_MFP pin 1 setting for RXD

Definition at line 72 of file sys.h.

## ◆ SYS_MFP_P01_SPISS

#define SYS_MFP_P01_SPISS 0x00000002UL

P0_MFP pin 1 setting for SPISS

Definition at line 70 of file sys.h.

## ◆ SYS_MFP_P04_GPIO

#define SYS_MFP_P04_GPIO 0x00000000UL

P0_MFP pin 4 setting for GPIO

Definition at line 75 of file sys.h.

## ◆ SYS_MFP_P04_Msk

#define SYS_MFP_P04_Msk 0x00001010UL

P0_MFP pin 4 mask

Definition at line 78 of file sys.h.

## ◆ SYS_MFP_P04_PWM5

#define SYS_MFP_P04_PWM5 0x00001010UL

P0_MFP pin 4 setting for PWM5

Definition at line 77 of file sys.h.

## ◆ SYS_MFP_P04_SPISS

#define SYS_MFP_P04_SPISS 0x00001000UL

P0_MFP pin 4 setting for SPISS1

Definition at line 76 of file sys.h.

## ◆ SYS_MFP_P05_GPIO

#define SYS_MFP_P05_GPIO 0x00000000UL

P0_MFP pin 5 setting for GPIO

Definition at line 80 of file sys.h.

## ◆ SYS_MFP_P05_MOSI

#define SYS_MFP_P05_MOSI 0x00002000UL

P0_MFP pin 5 setting for MOSI

Definition at line 81 of file sys.h.

## ◆ SYS_MFP_P05_Msk

#define SYS_MFP_P05_Msk 0x00002020UL

P0_MFP pin 5 mask

Definition at line 82 of file sys.h.

## ◆ SYS_MFP_P06_GPIO

#define SYS_MFP_P06_GPIO 0x00000000UL

P0_MFP pin 6 setting for GPIO

Definition at line 84 of file sys.h.

## ◆ SYS_MFP_P06_MISO

#define SYS_MFP_P06_MISO 0x00004000UL

P0_MFP pin 6 setting for MISO

Definition at line 85 of file sys.h.

## ◆ SYS_MFP_P06_Msk

#define SYS_MFP_P06_Msk 0x00004040UL

P0_MFP pin 6 mask

Definition at line 86 of file sys.h.

## ◆ SYS_MFP_P07_GPIO

#define SYS_MFP_P07_GPIO 0x00000000UL

P0_MFP pin 7 setting for GPIO

Definition at line 88 of file sys.h.

## ◆ SYS_MFP_P07_Msk

#define SYS_MFP_P07_Msk 0x00008080UL

P0_MFP pin 7 mask

Definition at line 90 of file sys.h.

## ◆ SYS_MFP_P07_SPICLK

#define SYS_MFP_P07_SPICLK 0x00008000UL

P0_MFP pin 7 setting for SPICLK

Definition at line 89 of file sys.h.

## ◆ SYS_MFP_P10_AIN1

#define SYS_MFP_P10_AIN1 0x00000001UL

P1_MFP pin 0 setting for AIN1

Definition at line 93 of file sys.h.

## ◆ SYS_MFP_P10_CPP0

#define SYS_MFP_P10_CPP0 0x00000101UL

P1_MFP pin 0 setting for CPP0

Definition at line 94 of file sys.h.

## ◆ SYS_MFP_P10_GPIO

#define SYS_MFP_P10_GPIO 0x00000000UL

P1_MFP pin 0 setting for GPIO

Definition at line 92 of file sys.h.

## ◆ SYS_MFP_P10_Msk

#define SYS_MFP_P10_Msk 0x00000101UL

P1_MFP pin 0 mask

Definition at line 95 of file sys.h.

## ◆ SYS_MFP_P12_AIN2

#define SYS_MFP_P12_AIN2 0x00000004UL

P1_MFP pin 2 setting for AIN2

Definition at line 98 of file sys.h.

## ◆ SYS_MFP_P12_CPP0

#define SYS_MFP_P12_CPP0 0x00000404UL

P1_MFP pin 2 setting for CPP0

Definition at line 100 of file sys.h.

## ◆ SYS_MFP_P12_GPIO

#define SYS_MFP_P12_GPIO 0x00000000UL

P1_MFP pin 2 setting for GPIO

Definition at line 97 of file sys.h.

## ◆ SYS_MFP_P12_Msk

#define SYS_MFP_P12_Msk 0x00000404UL

P1_MFP pin 2 mask

Definition at line 101 of file sys.h.

## ◆ SYS_MFP_P12_RXD

#define SYS_MFP_P12_RXD 0x00000400UL

P1_MFP pin 2 setting for RXD

Definition at line 99 of file sys.h.

## ◆ SYS_MFP_P13_AIN3

#define SYS_MFP_P13_AIN3 0x00000008UL

P1_MFP pin 3 setting for AIN3

Definition at line 104 of file sys.h.

## ◆ SYS_MFP_P13_CPP0

#define SYS_MFP_P13_CPP0 0x00000808UL

P1_MFP pin 3 setting for CPP0

Definition at line 106 of file sys.h.

## ◆ SYS_MFP_P13_GPIO

#define SYS_MFP_P13_GPIO 0x00000000UL

P1_MFP pin 3 setting for GPIO

Definition at line 103 of file sys.h.

## ◆ SYS_MFP_P13_Msk

#define SYS_MFP_P13_Msk 0x00000808UL

P1_MFP pin 3 mask

Definition at line 107 of file sys.h.

## ◆ SYS_MFP_P13_TXD

#define SYS_MFP_P13_TXD 0x00000800UL

P1_MFP pin 3 setting for TXD

Definition at line 105 of file sys.h.

## ◆ SYS_MFP_P14_AIN4

#define SYS_MFP_P14_AIN4 0x00000010UL

P1_MFP pin 4 setting for AIN4

Definition at line 110 of file sys.h.

## ◆ SYS_MFP_P14_CPN0

#define SYS_MFP_P14_CPN0 0x00001010UL

P1_MFP pin 4 setting for CPN0

Definition at line 111 of file sys.h.

## ◆ SYS_MFP_P14_GPIO

#define SYS_MFP_P14_GPIO 0x00000000UL

P1_MFP pin 4 setting for GPIO

Definition at line 109 of file sys.h.

## ◆ SYS_MFP_P14_Msk

#define SYS_MFP_P14_Msk 0x00001010UL

P1_MFP pin 4 mask

Definition at line 112 of file sys.h.

## ◆ SYS_MFP_P15_AIN5

#define SYS_MFP_P15_AIN5 0x00000020UL

P1_MFP pin 5 setting for AIN5

Definition at line 115 of file sys.h.

## ◆ SYS_MFP_P15_CPP0

#define SYS_MFP_P15_CPP0 0x00002020UL

P1_MFP pin 5 setting for CPP0

Definition at line 116 of file sys.h.

## ◆ SYS_MFP_P15_GPIO

#define SYS_MFP_P15_GPIO 0x00000000UL

P1_MFP pin 5 setting for GPIO

Definition at line 114 of file sys.h.

## ◆ SYS_MFP_P15_Msk

#define SYS_MFP_P15_Msk 0x00002020UL

P1_MFP pin 5 mask

Definition at line 117 of file sys.h.

## ◆ SYS_MFP_P22_GPIO

#define SYS_MFP_P22_GPIO 0x00000000UL

P2_MFP pin 2 setting for GPIO

Definition at line 119 of file sys.h.

## ◆ SYS_MFP_P22_Msk

#define SYS_MFP_P22_Msk 0x00000404UL

P2_MFP pin 2 mask

Definition at line 121 of file sys.h.

## ◆ SYS_MFP_P22_PWM0

#define SYS_MFP_P22_PWM0 0x00000400UL

P2_MFP pin 2 setting for PWM0

Definition at line 120 of file sys.h.

## ◆ SYS_MFP_P23_GPIO

#define SYS_MFP_P23_GPIO 0x00000000UL

P2_MFP pin 3 setting for GPIO

Definition at line 123 of file sys.h.

## ◆ SYS_MFP_P23_Msk

#define SYS_MFP_P23_Msk 0x00000808UL

P2_MFP pin 3 mask

Definition at line 125 of file sys.h.

## ◆ SYS_MFP_P23_PWM1

#define SYS_MFP_P23_PWM1 0x00000800UL

P2_MFP pin 3 setting for PWM1

Definition at line 124 of file sys.h.

## ◆ SYS_MFP_P24_GPIO

#define SYS_MFP_P24_GPIO 0x00000000UL

P2_MFP pin 4 setting for GPIO

Definition at line 127 of file sys.h.

## ◆ SYS_MFP_P24_Msk

#define SYS_MFP_P24_Msk 0x00001010UL

P2_MFP pin 4 mask

Definition at line 129 of file sys.h.

## ◆ SYS_MFP_P24_PWM2

#define SYS_MFP_P24_PWM2 0x00001000UL

P2_MFP pin 4 setting for PWM2

Definition at line 128 of file sys.h.

## ◆ SYS_MFP_P25_GPIO

#define SYS_MFP_P25_GPIO 0x00000000UL

P2_MFP pin 5 setting for GPIO

Definition at line 131 of file sys.h.

## ◆ SYS_MFP_P25_Msk

#define SYS_MFP_P25_Msk 0x00002020UL

P2_MFP pin 5 mask

Definition at line 133 of file sys.h.

## ◆ SYS_MFP_P25_PWM3

#define SYS_MFP_P25_PWM3 0x00002000UL

P2_MFP pin 5 setting for PWM3

Definition at line 132 of file sys.h.

## ◆ SYS_MFP_P26_CPO1

#define SYS_MFP_P26_CPO1 0x00004040UL

P2_MFP pin 6 setting for CPO1

Definition at line 137 of file sys.h.

## ◆ SYS_MFP_P26_GPIO

#define SYS_MFP_P26_GPIO 0x00000000UL

P2_MFP pin 6 setting for GPIO

Definition at line 135 of file sys.h.

## ◆ SYS_MFP_P26_Msk

#define SYS_MFP_P26_Msk 0x00004040UL

P2_MFP pin 6 mask

Definition at line 138 of file sys.h.

## ◆ SYS_MFP_P26_PWM4

#define SYS_MFP_P26_PWM4 0x00004000UL

P2_MFP pin 6 setting for PWM4

Definition at line 136 of file sys.h.

## ◆ SYS_MFP_P30_AIN6

#define SYS_MFP_P30_AIN6 0x00000101UL

P3_MFP pin 0 setting for AIN6

Definition at line 142 of file sys.h.

## ◆ SYS_MFP_P30_CPN1

#define SYS_MFP_P30_CPN1 0x00000100UL

P3_MFP pin 0 setting for CPN1

Definition at line 141 of file sys.h.

## ◆ SYS_MFP_P30_GPIO

#define SYS_MFP_P30_GPIO 0x00000000UL

P3_MFP pin 0 setting for GPIO

Definition at line 140 of file sys.h.

## ◆ SYS_MFP_P30_Msk

#define SYS_MFP_P30_Msk 0x00000101UL

P3_MFP pin 0 mask

Definition at line 143 of file sys.h.

## ◆ SYS_MFP_P31_AIN7

#define SYS_MFP_P31_AIN7 0x00000202UL

P3_MFP pin 1 setting for AIN7

Definition at line 147 of file sys.h.

## ◆ SYS_MFP_P31_CPP1

#define SYS_MFP_P31_CPP1 0x00000200UL

P3_MFP pin 1 setting for CPP1

Definition at line 146 of file sys.h.

## ◆ SYS_MFP_P31_GPIO

#define SYS_MFP_P31_GPIO 0x00000000UL

P3_MFP pin 1 setting for GPIO

Definition at line 145 of file sys.h.

## ◆ SYS_MFP_P31_Msk

#define SYS_MFP_P31_Msk 0x00000202UL

P3_MFP pin 1 mask

Definition at line 148 of file sys.h.

## ◆ SYS_MFP_P32_CPP1

#define SYS_MFP_P32_CPP1 0x01000000UL

P3_MFP pin 2 setting for CPP1

Definition at line 154 of file sys.h.

## ◆ SYS_MFP_P32_GPIO

#define SYS_MFP_P32_GPIO 0x00000000UL

P3_MFP pin 2 setting for GPIO

Definition at line 150 of file sys.h.

## ◆ SYS_MFP_P32_INT0

#define SYS_MFP_P32_INT0 0x00000004UL

P3_MFP pin 2 setting for /INT0

Definition at line 151 of file sys.h.

## ◆ SYS_MFP_P32_Msk

#define SYS_MFP_P32_Msk 0x01000404UL

P3_MFP pin 2 mask

Definition at line 155 of file sys.h.

## ◆ SYS_MFP_P32_STADC

#define SYS_MFP_P32_STADC 0x00000404UL

P3_MFP pin 2 setting for STADC

Definition at line 153 of file sys.h.

## ◆ SYS_MFP_P32_T0EX

#define SYS_MFP_P32_T0EX 0x00000400UL

P3_MFP pin 2 setting for T0EX

Definition at line 152 of file sys.h.

## ◆ SYS_MFP_P34_CPP1

#define SYS_MFP_P34_CPP1 0x00001010UL

P3_MFP pin 4 setting for CPP1

Definition at line 160 of file sys.h.

## ◆ SYS_MFP_P34_GPIO

#define SYS_MFP_P34_GPIO 0x00000000UL

P3_MFP pin 4 setting for GPIO

Definition at line 157 of file sys.h.

## ◆ SYS_MFP_P34_Msk

#define SYS_MFP_P34_Msk 0x00001010UL

P3_MFP pin 4 mask

Definition at line 161 of file sys.h.

## ◆ SYS_MFP_P34_SDA

#define SYS_MFP_P34_SDA 0x00001000UL

P3_MFP pin 4 setting for SDA

Definition at line 159 of file sys.h.

## ◆ SYS_MFP_P34_T0

#define SYS_MFP_P34_T0 0x00000010UL

P3_MFP pin 4 setting for T0

Definition at line 158 of file sys.h.

## ◆ SYS_MFP_P35_CPP1

#define SYS_MFP_P35_CPP1 0x00002020UL

P3_MFP pin 5 setting for CPP1

Definition at line 166 of file sys.h.

## ◆ SYS_MFP_P35_GPIO

#define SYS_MFP_P35_GPIO 0x00000000UL

P3_MFP pin 5 setting for GPIO

Definition at line 163 of file sys.h.

## ◆ SYS_MFP_P35_Msk

#define SYS_MFP_P35_Msk 0x00002020UL

P3_MFP pin 5 mask

Definition at line 167 of file sys.h.

## ◆ SYS_MFP_P35_SCL

#define SYS_MFP_P35_SCL 0x00002000UL

P3_MFP pin 5 setting for SCL

Definition at line 165 of file sys.h.

## ◆ SYS_MFP_P35_T1

#define SYS_MFP_P35_T1 0x00000020UL

P3_MFP pin 5 setting for T1

Definition at line 164 of file sys.h.

## ◆ SYS_MFP_P36_CKO

#define SYS_MFP_P36_CKO 0x00004000UL

P3_MFP pin 6 setting for CKO

Definition at line 171 of file sys.h.

## ◆ SYS_MFP_P36_CPO0

#define SYS_MFP_P36_CPO0 0x00004040UL

P3_MFP pin 6 setting for CPO0

Definition at line 172 of file sys.h.

## ◆ SYS_MFP_P36_GPIO

#define SYS_MFP_P36_GPIO 0x00000000UL

P3_MFP pin 6 setting for GPIO

Definition at line 169 of file sys.h.

## ◆ SYS_MFP_P36_Msk

#define SYS_MFP_P36_Msk 0x00004040UL

P3_MFP pin 6 mask

Definition at line 173 of file sys.h.

## ◆ SYS_MFP_P36_T1EX

#define SYS_MFP_P36_T1EX 0x00000040UL

P3_MFP pin 6 setting for T1EX

Definition at line 170 of file sys.h.

## ◆ SYS_MFP_P46_GPIO

#define SYS_MFP_P46_GPIO 0x00000000UL

P4_MFP pin 6 setting for GPIO

Definition at line 175 of file sys.h.

## ◆ SYS_MFP_P46_ICE_CLK

#define SYS_MFP_P46_ICE_CLK 0x00000040UL

P4_MFP pin 6 setting for ICE_CLK

Definition at line 176 of file sys.h.

## ◆ SYS_MFP_P46_Msk

#define SYS_MFP_P46_Msk 0x00004040UL

P4_MFP pin 6 mask

Definition at line 177 of file sys.h.

## ◆ SYS_MFP_P47_GPIO

#define SYS_MFP_P47_GPIO 0x00000000UL

P4_MFP pin 7 setting for GPIO

Definition at line 179 of file sys.h.

## ◆ SYS_MFP_P47_ICE_DAT

#define SYS_MFP_P47_ICE_DAT 0x00000080UL

P4_MFP pin 7 setting for ICE_DAT

Definition at line 180 of file sys.h.

## ◆ SYS_MFP_P47_Msk

#define SYS_MFP_P47_Msk 0x00008080UL

P4_MFP pin 7 mask

Definition at line 181 of file sys.h.

## ◆ SYS_MFP_P50_GPIO

#define SYS_MFP_P50_GPIO 0x00000000UL

P5_MFP pin 0 setting for GPIO

Definition at line 183 of file sys.h.

## ◆ SYS_MFP_P50_Msk

#define SYS_MFP_P50_Msk 0x00000101UL

P5_MFP pin 0 mask

Definition at line 185 of file sys.h.

## ◆ SYS_MFP_P50_XTAL1

#define SYS_MFP_P50_XTAL1 0x00000001UL

P5_MFP pin 0 setting for XTAL1

Definition at line 184 of file sys.h.

## ◆ SYS_MFP_P51_GPIO

#define SYS_MFP_P51_GPIO 0x00000000UL

P5_MFP pin 1 setting for GPIO

Definition at line 187 of file sys.h.

## ◆ SYS_MFP_P51_Msk

#define SYS_MFP_P51_Msk 0x00000202UL

P5_MFP pin 1 mask

Definition at line 189 of file sys.h.

## ◆ SYS_MFP_P51_XTAL2

#define SYS_MFP_P51_XTAL2 0x00000002UL

P5_MFP pin 1 setting for XTAL2

Definition at line 188 of file sys.h.

## ◆ SYS_MFP_P52_GPIO

#define SYS_MFP_P52_GPIO 0x00000000UL

P5_MFP pin 2 setting for GPIO

Definition at line 191 of file sys.h.

## ◆ SYS_MFP_P52_INT1

#define SYS_MFP_P52_INT1 0x00000004UL

P5_MFP pin 2 setting for /INT1

Definition at line 192 of file sys.h.

## ◆ SYS_MFP_P52_Msk

#define SYS_MFP_P52_Msk 0x00000404UL

P5_MFP pin 2 mask

Definition at line 193 of file sys.h.

## ◆ SYS_MFP_P53_AIN0

#define SYS_MFP_P53_AIN0 0x00000008UL

P5_MFP pin 3 setting for AIN0

Definition at line 196 of file sys.h.

## ◆ SYS_MFP_P53_GPIO

#define SYS_MFP_P53_GPIO 0x00000000UL

P5_MFP pin 3 setting for GPIO

Definition at line 195 of file sys.h.

## ◆ SYS_MFP_P53_Msk

#define SYS_MFP_P53_Msk 0x00000808UL

P5_MFP pin 3 mask

Definition at line 197 of file sys.h.

## ◆ SYS_MFP_P54_GPIO

#define SYS_MFP_P54_GPIO 0x00000000UL

P5_MFP pin 4 setting for GPIO

Definition at line 199 of file sys.h.

## ◆ SYS_MFP_P54_Msk

#define SYS_MFP_P54_Msk 0x00001010UL

P5_MFP pin 4 mask

Definition at line 200 of file sys.h.

## ◆ SYS_MFP_P55_GPIO

#define SYS_MFP_P55_GPIO 0x00000000UL

P5_MFP pin 5 setting for GPIO

Definition at line 202 of file sys.h.

## ◆ SYS_MFP_P55_Msk

#define SYS_MFP_P55_Msk 0x00002020UL

P5_MFP pin 5 mask

Definition at line 203 of file sys.h.

## ◆ SYS_MFP_TYPE_Msk

#define SYS_MFP_TYPE_Msk | ( |  | bit | ) | (1UL << ((bit) +16))

TYPE mask for Multiple Function Port

Definition at line 60 of file sys.h.

## ◆ TMR0_RST

#define TMR0_RST ((0x4<<24) | SYS_IPRSTC2_TMR0_RST_Pos )

TMR0 reset is one of the SYS_ResetModule parameter

Definition at line 41 of file sys.h.

## ◆ TMR1_RST

#define TMR1_RST ((0x4<<24) | SYS_IPRSTC2_TMR1_RST_Pos )

TMR1 reset is one of the SYS_ResetModule parameter

Definition at line 40 of file sys.h.

## ◆ UART_RST

#define UART_RST ((0x4<<24) | SYS_IPRSTC2_UART_RST_Pos )

UART reset is one of the SYS_ResetModule parameter

Definition at line 37 of file sys.h.