PAN1080 Peripheral API
|
Panchip series system driver header file. More...
Go to the source code of this file.
Macros | |
#define | ADC_RST ((0x4<<24) | SYS_IPRST1_ADCRST_Pos ) |
#define | ACMP_RST ((0x4<<24) | SYS_IPRST1_ACMPRST_Pos ) |
#define | PWM0_RST ((0x4<<24) | SYS_IPRST1_PWM0RST_Pos ) |
#define | WWDT_RST ((0x4<<24) | SYS_IPRST1_WWDTRST_Pos ) |
#define | WDT_RST ((0x4<<24) | SYS_IPRST1_WDTRST_Pos ) |
#define | UART0_RST ((0x4<<24) | SYS_IPRST1_UART0RST_Pos ) |
#define | UART1_RST ((0x4<<24) | SYS_IPRST1_UART1RST_Pos ) |
#define | SPI0_RST ((0x4<<24) | SYS_IPRST1_SPI0RST_Pos ) |
#define | SPI1_RST ((0x4<<24) | SYS_IPRST1_SPI1RST_Pos ) |
#define | I2C0_RST ((0x4<<24) | SYS_IPRST1_I2C0RST_Pos ) |
#define | I2C1_RST ((0x4<<24) | SYS_IPRST1_I2C1RST_Pos ) |
#define | TMR2_RST ((0x4<<24) | SYS_IPRST1_TMR2RST_Pos ) |
#define | TMR1_RST ((0x4<<24) | SYS_IPRST1_TMR1RST_Pos ) |
#define | TMR0_RST ((0x4<<24) | SYS_IPRST1_TMR0RST_Pos ) |
#define | GPIO_RST ((0x4<<24) | SYS_IPRST1_GPIORST_Pos ) |
#define | SYS_BODCTL_BOD_RST_EN (1UL<<SYS_BODCTL_BODRSTEN_Pos) |
#define | SYS_BODCTL_BOD_INTERRUPT_EN (0UL<<SYS_BODCTL_BODRSTEN_Pos) |
#define | SYS_BODCTL_DISABLE (3UL<<SYS_BODCTL_BODVL_Pos) |
#define | SYS_BODCTL_BODVL_2_67V (2UL<<SYS_BODCTL_BODVL_Pos) |
#define | SYS_BODCTL_BODVL_2_4V (1UL<<SYS_BODCTL_BODVL_Pos) |
#define | SYS_BODCTL_BODVL_2_15V (0UL<<SYS_BODCTL_BODVL_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_GPIO 0x00000000UL |
#define | SYS_MFP_P00_GPIO 0x00000000UL |
#define | SYS_MFP_P00_UART0_TX 0x00000001UL |
#define | SYS_MFP_P00_I2C0_SCL 0x00000100UL |
#define | SYS_MFP_P00_TMR0_OUT 0x00000101UL |
#define | SYS_MFP_P00_PWM0_CH0 0x00010000UL |
#define | SYS_MFP_P00_I2SM_DI 0x00010001UL |
#define | SYS_MFP_P00_KSCAN_O6 0x00010100UL |
#define | SYS_MFP_P00_I2SS_DI 0x00010101UL |
#define | SYS_MFP_P00_Msk 0x00010101UL |
#define | SYS_MFP_P01_GPIO 0x00000000UL |
#define | SYS_MFP_P01_UART0_RX 0x00000002UL |
#define | SYS_MFP_P01_I2C0_SDA 0x00000200UL |
#define | SYS_MFP_P01_I2SM_DO 0x00000202UL |
#define | SYS_MFP_P01_PWM0_CH1 0x00020000UL |
#define | SYS_MFP_P01_I2SS_DO 0x00020002UL |
#define | SYS_MFP_P01_KSCAN_O7 0x00020200UL |
#define | SYS_MFP_P01_LL_DBG01 0x00020202UL |
#define | SYS_MFP_P01_Msk 0x00020202UL |
#define | SYS_MFP_P02_GPIO 0x00000000UL |
#define | SYS_MFP_P02_UART0_CTS 0x00000004UL |
#define | SYS_MFP_P02_ANT_SW0 0x00000400UL |
#define | SYS_MFP_P02_SPI0_CS 0x00000404UL |
#define | SYS_MFP_P02_USB_DM 0x00040000UL |
#define | SYS_MFP_P02_PWM0_CH2 0x00040004UL |
#define | SYS_MFP_P02_TADC_DATL 0x00040400UL |
#define | SYS_MFP_P02_KSCAN_I0 0x00040404UL |
#define | SYS_MFP_P02_Msk 0x00040404UL |
#define | SYS_MFP_P03_GPIO 0x00000000UL |
#define | SYS_MFP_P03_UART0_RTS 0x00000008UL |
#define | SYS_MFP_P03_ANT_SW1 0x00000800UL |
#define | SYS_MFP_P03_SPI0_CLK 0x00000808UL |
#define | SYS_MFP_P03_USB_DP 0x00080000UL |
#define | SYS_MFP_P03_PWM0_CH3 0x00080008UL |
#define | SYS_MFP_P03_TADC_VLD 0x00080800UL |
#define | SYS_MFP_P03_KSCAN_I1 0x00080808UL |
#define | SYS_MFP_P03_Msk 0x00080808UL |
#define | SYS_MFP_P04_GPIO 0x00000000UL |
#define | SYS_MFP_P04_I2SS_DI 0x00000010UL |
#define | SYS_MFP_P04_I2SM_DI 0x00001000UL |
#define | SYS_MFP_P04_TMR2_OUT 0x00001010UL |
#define | SYS_MFP_P04_PWM1_CH0 0x00100000UL |
#define | SYS_MFP_P04_KSCAN_O10 0x00100010UL |
#define | SYS_MFP_P04_QDEC_X0 0x00101000UL |
#define | SYS_MFP_P04_LL_DBG10 0x00101010UL |
#define | SYS_MFP_P04_Msk 0x00101010UL |
#define | SYS_MFP_P05_GPIO 0x00000000UL |
#define | SYS_MFP_P05_I2SS_DO 0x00000020UL |
#define | SYS_MFP_P05_I2SM_DO 0x00002000UL |
#define | SYS_MFP_P05_ANT_SW2 0x00002020UL |
#define | SYS_MFP_P05_PWM1_CH1 0x00200000UL |
#define | SYS_MFP_P05_KSCAN_O11 0x00200020UL |
#define | SYS_MFP_P05_QDEC_X1 0x00202000UL |
#define | SYS_MFP_P05_EXT_STADC 0x00202020UL |
#define | SYS_MFP_P05_Msk 0x00202020UL |
#define | SYS_MFP_P06_GPIO 0x00000000UL |
#define | SYS_MFP_P06_SPI1_CS 0x00000040UL |
#define | SYS_MFP_P06_UART1_TX 0x00004000UL |
#define | SYS_MFP_P06_ANT_SW3 0x00004040UL |
#define | SYS_MFP_P06_PWM1_CH2 0x00400000UL |
#define | SYS_MFP_P06_KSCAN_O12 0x00400040UL |
#define | SYS_MFP_P06_QDEC_Y0 0x00404000UL |
#define | SYS_MFP_P06_I2S_MCLK 0x00404040UL |
#define | SYS_MFP_P06_Msk 0x00404040UL |
#define | SYS_MFP_P07_GPIO 0x00000000UL |
#define | SYS_MFP_P07_SPI1_CLK 0x00000080UL |
#define | SYS_MFP_P07_UART1_RX 0x00008000UL |
#define | SYS_MFP_P07_TMR0_EXT 0x00008080UL |
#define | SYS_MFP_P07_PWM1_CH3 0x00800000UL |
#define | SYS_MFP_P07_KSCAN_O13 0x00800080UL |
#define | SYS_MFP_P07_QDEC_Y1 0x00808000UL |
#define | SYS_MFP_P07_ANT_SW5 0x00808080UL |
#define | SYS_MFP_P07_Msk 0x00808080UL |
#define | SYS_MFP_P10_GPIO 0x00000000UL |
#define | SYS_MFP_P10_SPI0_MOSI 0x00000001UL |
#define | SYS_MFP_P10_TMR0_EXT 0x00000100UL |
#define | SYS_MFP_P10_ADC_CH5 0x00000101UL |
#define | SYS_MFP_P10_PWM0_CH4 0x00010000UL |
#define | SYS_MFP_P10_KSCAN_O4 0x00010001UL |
#define | SYS_MFP_P10_32K_CLK 0x00010100UL |
#define | SYS_MFP_P10_LL_DBG14 0x00010101UL |
#define | SYS_MFP_P10_Msk 0x00010101UL |
#define | SYS_MFP_P11_GPIO 0x00000000UL |
#define | SYS_MFP_P11_SPI0_MISO 0x00000002UL |
#define | SYS_MFP_P11_CALIB_CLK 0x00000200UL |
#define | SYS_MFP_P11_ADC_CH4 0x00000202UL |
#define | SYS_MFP_P11_PWM0_CH5 0x00020000UL |
#define | SYS_MFP_P11_KSCAN_O5 0x00020002UL |
#define | SYS_MFP_P11_AHB_CLK 0x00020200UL |
#define | SYS_MFP_P11_I2S_MCLK 0x00020202UL |
#define | SYS_MFP_P11_Msk 0x00020202UL |
#define | SYS_MFP_P12_GPIO 0x00000000UL |
#define | SYS_MFP_P12_I2C0_SCL 0x00000004UL |
#define | SYS_MFP_P12_I2SS_CLK 0x00000400UL |
#define | SYS_MFP_P12_I2SM_CLK 0x00000404UL |
#define | SYS_MFP_P12_PWM0_CH6 0x00040000UL |
#define | SYS_MFP_P12_TADC_CLK 0x00040004UL |
#define | SYS_MFP_P12_DPLL 0x00040400UL |
#define | SYS_MFP_P12_LL_DBG15 0x00040404UL |
#define | SYS_MFP_P12_Msk 0x00040404UL |
#define | SYS_MFP_P13_GPIO 0x00000000UL |
#define | SYS_MFP_P13_I2C0_SDA 0x00000008UL |
#define | SYS_MFP_P13_I2SS_WS 0x00000800UL |
#define | SYS_MFP_P13_I2SM_WS 0x00000808UL |
#define | SYS_MFP_P13_PWM0_CH7 0x00080000UL |
#define | SYS_MFP_P13_TADC_DATH 0x00080008UL |
#define | SYS_MFP_P13_RCH 0x00080800UL |
#define | SYS_MFP_P13_ANT_SW4 0x00080808UL |
#define | SYS_MFP_P13_Msk 0x00080808UL |
#define | SYS_MFP_P14_GPIO 0x00000000UL |
#define | SYS_MFP_P14_UART1_TX 0x00000010UL |
#define | SYS_MFP_P14_I2C0_SDA 0x00001000UL |
#define | SYS_MFP_P14_ANT_SW6 0x00001010UL |
#define | SYS_MFP_P14_PWM0_CH4 0x00100000UL |
#define | SYS_MFP_P14_KSCAN_I4 0x00100010UL |
#define | SYS_MFP_P14_QDEC_X0 0x00101000UL |
#define | SYS_MFP_P14_MDM_DBG18 0x00101010UL |
#define | SYS_MFP_P14_Msk 0x00101010UL |
#define | SYS_MFP_P15_GPIO 0x00000000UL |
#define | SYS_MFP_P15_UART1_RX 0x00000020UL |
#define | SYS_MFP_P15_ANT_SW7 0x00002000UL |
#define | SYS_MFP_P15_I2C0_SCL 0x00002020UL |
#define | SYS_MFP_P15_PWM0_CH5 0x00200000UL |
#define | SYS_MFP_P15_KSCAN_I5 0x00200020UL |
#define | SYS_MFP_P15_QDEC_X1 0x00202000UL |
#define | SYS_MFP_P15_LL_DBG04 0x00202020UL |
#define | SYS_MFP_P15_Msk 0x00202020UL |
#define | SYS_MFP_P16_GPIO 0x00000000UL |
#define | SYS_MFP_P16_UART1_CTS 0x00000040UL |
#define | SYS_MFP_P16_ANT_SW4 0x00004000UL |
#define | SYS_MFP_P16_TMR0_OUT 0x00004040UL |
#define | SYS_MFP_P16_PWM0_CH6 0x00400000UL |
#define | SYS_MFP_P16_KSCAN_I6 0x00400040UL |
#define | SYS_MFP_P16_QDEC_Y0 0x00404000UL |
#define | SYS_MFP_P16_LL_DBG13 0x00404040UL |
#define | SYS_MFP_P16_Msk 0x00404040UL |
#define | SYS_MFP_P17_GPIO 0x00000000UL |
#define | SYS_MFP_P17_UART1_RTS 0x00000080UL |
#define | SYS_MFP_P17_MDM_DBG03 0x00008000UL |
#define | SYS_MFP_P17_TMR1_OUT 0x00008080UL |
#define | SYS_MFP_P17_PWM0_CH7 0x00800000UL |
#define | SYS_MFP_P17_KSCAN_I7 0x00800080UL |
#define | SYS_MFP_P17_QDEC_Y1 0x00808000UL |
#define | SYS_MFP_P17_LL_DBG07 0x00808080UL |
#define | SYS_MFP_P17_Msk 0x00808080UL |
#define | SYS_MFP_P20_GPIO 0x00000000UL |
#define | SYS_MFP_P20_SPI1_CS 0x00000001UL |
#define | SYS_MFP_P20_TMR1_EXT 0x00000100UL |
#define | SYS_MFP_P20_INT2 0x00000101UL |
#define | SYS_MFP_P20_ADC_CH6 0x00010000UL |
#define | SYS_MFP_P20_KSCAN_I0 0x00010001UL |
#define | SYS_MFP_P20_QDEC_Z0 0x00010100UL |
#define | SYS_MFP_P20_LL_DBG08 0x00010101UL |
#define | SYS_MFP_P20_Msk 0x00010101UL |
#define | SYS_MFP_P21_GPIO 0x00000000UL |
#define | SYS_MFP_P21_SPI1_CLK 0x00000002UL |
#define | SYS_MFP_P21_TMR2_EXT 0x00000200UL |
#define | SYS_MFP_P21_MDM_DBG04 0x00000202UL |
#define | SYS_MFP_P21_ADC_CH7 0x00020000UL |
#define | SYS_MFP_P21_KSCAN_I1 0x00020002UL |
#define | SYS_MFP_P21_QDEC_Z1 0x00020200UL |
#define | SYS_MFP_P21_LL_DBG09 0x00020202UL |
#define | SYS_MFP_P21_Msk 0x00020202UL |
#define | SYS_MFP_P22_GPIO 0x00000000UL |
#define | SYS_MFP_P22_QDEC_X_IDX 0x00000004UL |
#define | SYS_MFP_P22_PWM1_CH4 0x00000400UL |
#define | SYS_MFP_P22_I2SS_CLK 0x00000404UL |
#define | SYS_MFP_P22_SPI1_MISO 0x00040000UL |
#define | SYS_MFP_P22_KSCAN_I2 0x00040004UL |
#define | SYS_MFP_P22_I2SM_CLK 0x00040400UL |
#define | SYS_MFP_P22_LL_DBG05 0x00040404UL |
#define | SYS_MFP_P22_Msk 0x00040404UL |
#define | SYS_MFP_P23_GPIO 0x00000000UL |
#define | SYS_MFP_P23_QDEC_Y_IDX 0x00000008UL |
#define | SYS_MFP_P23_PWM1_CH5 0x00000800UL |
#define | SYS_MFP_P23_I2SS_WS 0x00000808UL |
#define | SYS_MFP_P23_SPI1_MOSI 0x00080000UL |
#define | SYS_MFP_P23_KSCAN_I3 0x00080008UL |
#define | SYS_MFP_P23_I2SM_WS 0x00080800UL |
#define | SYS_MFP_P23_LL_DBG06 0x00080808UL |
#define | SYS_MFP_P23_Msk 0x00080808UL |
#define | SYS_MFP_P24_GPIO 0x00000000UL |
#define | SYS_MFP_P24_UART1_TX 0x00000010UL |
#define | SYS_MFP_P24_SPI1_CLK 0x00001000UL |
#define | SYS_MFP_P24_ANT_SW0 0x00001010UL |
#define | SYS_MFP_P24_PWM1_CH0 0x00100000UL |
#define | SYS_MFP_P24_KSCAN_O8 0x00100010UL |
#define | SYS_MFP_P24_QDEC_Z0 0x00101000UL |
#define | SYS_MFP_P24_MDM_DBG07 0x00101010UL |
#define | SYS_MFP_P24_Msk 0x00101010UL |
#define | SYS_MFP_P25_GPIO 0x00000000UL |
#define | SYS_MFP_P25_UART1_RX 0x00000020UL |
#define | SYS_MFP_P25_SPI1_CS 0x00002000UL |
#define | SYS_MFP_P25_ANT_SW1 0x00002020UL |
#define | SYS_MFP_P25_QDEC_Z_IDX 0x00200000UL |
#define | SYS_MFP_P25_KSCAN_O9 0x00200020UL |
#define | SYS_MFP_P25_PWM1_CH1 0x00202000UL |
#define | SYS_MFP_P25_MDM_DBG08 0x00202020UL |
#define | SYS_MFP_P25_Msk 0x00202020UL |
#define | SYS_MFP_P26_GPIO 0x00000000UL |
#define | SYS_MFP_P26_UART1_CTS 0x00000040UL |
#define | SYS_MFP_P26_UART0_TX 0x00004000UL |
#define | SYS_MFP_P26_SPI1_MISO 0x00004040UL |
#define | SYS_MFP_P26_MDM_DBG17 0x00400000UL |
#define | SYS_MFP_P26_KSCAN_O14 0x00400040UL |
#define | SYS_MFP_P26_PWM1_CH2 0x00404000UL |
#define | SYS_MFP_P26_LL_DBG12 0x00404040UL |
#define | SYS_MFP_P26_Msk 0x00404040UL |
#define | SYS_MFP_P27_GPIO 0x00000000UL |
#define | SYS_MFP_P27_UART1_RTS 0x00000080UL |
#define | SYS_MFP_P27_UART0_RX 0x00008000UL |
#define | SYS_MFP_P27_SPI1_MOSI 0x00008080UL |
#define | SYS_MFP_P27_ADC_CH2 0x00800000UL |
#define | SYS_MFP_P27_KSCAN_O15 0x00800080UL |
#define | SYS_MFP_P27_QDEC_Z1 0x00808000UL |
#define | SYS_MFP_P27_MDM_DBG10 0x00808080UL |
#define | SYS_MFP_P27_Msk 0x00808080UL |
#define | SYS_MFP_P30_GPIO 0x00000000UL |
#define | SYS_MFP_P30_UART0_TX 0x00000001UL |
#define | SYS_MFP_P30_PWM1_CH6 0x00000100UL |
#define | SYS_MFP_P30_SPI0_MOSI 0x00000101UL |
#define | SYS_MFP_P30_ADC_CH1 0x00010000UL |
#define | SYS_MFP_P30_KSCAN_I4 0x00010001UL |
#define | SYS_MFP_P30_MDM_DBG11 0x00010100UL |
#define | SYS_MFP_P30_MDM_SPI_CLK 0x00010101UL |
#define | SYS_MFP_P30_Msk 0x00010101UL |
#define | SYS_MFP_P31_GPIO 0x00000000UL |
#define | SYS_MFP_P31_UART0_RX 0x00000002UL |
#define | SYS_MFP_P31_PWM1_CH7 0x00000200UL |
#define | SYS_MFP_P31_SPI0_MISO 0x00000202UL |
#define | SYS_MFP_P31_ADC_CH0 0x00020000UL |
#define | SYS_MFP_P31_KSCAN_I5 0x00020002UL |
#define | SYS_MFP_P31_MDM_DBG12 0x00020200UL |
#define | SYS_MFP_P31_MDM_SPI_CS 0x00020202UL |
#define | SYS_MFP_P31_Msk 0x00020202UL |
#define | SYS_MFP_P32_GPIO 0x00000000UL |
#define | SYS_MFP_P32_SPI0_CS 0x00000004UL |
#define | SYS_MFP_P32_BOD_OUT 0x00000400UL |
#define | SYS_MFP_P32_INT0 0x00000404UL |
#define | SYS_MFP_P32_PWM0_CH2 0x00040000UL |
#define | SYS_MFP_P32_KSCAN_O16 0x00040004UL |
#define | SYS_MFP_P32_MDM_DBG14 0x00040400UL |
#define | SYS_MFP_P32_MDM_SPI_MOSI 0x00040404UL |
#define | SYS_MFP_P32_Msk 0x00040404UL |
#define | SYS_MFP_P33_GPIO 0x00000000UL |
#define | SYS_MFP_P33_SPI0_CLK 0x00000008UL |
#define | SYS_MFP_P33_LVR_OUT 0x00000800UL |
#define | SYS_MFP_P33_UART0_RTS 0x00000808UL |
#define | SYS_MFP_P33_PWM0_CH3 0x00080000UL |
#define | SYS_MFP_P33_KSCAN_O17 0x00080008UL |
#define | SYS_MFP_P33_LL_DBG03 0x00080800UL |
#define | SYS_MFP_P33_MDM_SPI_MISO 0x00080808UL |
#define | SYS_MFP_P33_Msk 0x00080808UL |
#define | SYS_MFP_P34_GPIO 0x00000000UL |
#define | SYS_MFP_P34_PWM2_CH4 0x00000010UL |
#define | SYS_MFP_P34_KSCAN_O18 0x00001000UL |
#define | SYS_MFP_P34_MDM_DBG02 0x00001010UL |
#define | SYS_MFP_P34_MDM_TX_DATA 0x00100000UL |
#define | SYS_MFP_P34_TMR1_EXT 0x00100010UL |
#define | SYS_MFP_P34_USB_DIP 0x00101000UL |
#define | SYS_MFP_P34_RESERVED 0x00101010UL |
#define | SYS_MFP_P34_Msk 0x00101010UL |
#define | SYS_MFP_P35_GPIO 0x00000000UL |
#define | SYS_MFP_P35_PWM2_CH5 0x00000020UL |
#define | SYS_MFP_P35_KSCAN_O19 0x00002000UL |
#define | SYS_MFP_P35_MDM_DBG05 0x00002020UL |
#define | SYS_MFP_P35_MDM_TX_ON 0x00200000UL |
#define | SYS_MFP_P35_UART0_CTS 0x00200020UL |
#define | SYS_MFP_P35_USB_DIM 0x00202000UL |
#define | SYS_MFP_P35_RESERVED 0x00202020UL |
#define | SYS_MFP_P35_Msk 0x00202020UL |
#define | SYS_MFP_P36_GPIO 0x00000000UL |
#define | SYS_MFP_P36_PWM2_CH6 0x00000040UL |
#define | SYS_MFP_P36_KSCAN_O20 0x00004000UL |
#define | SYS_MFP_P36_MDM_DBG06 0x00004040UL |
#define | SYS_MFP_P36_MDM_RX_ON 0x00400000UL |
#define | SYS_MFP_P36_CALIB_CLK 0x00400040UL |
#define | SYS_MFP_P36_USB_DIDIF 0x00404000UL |
#define | SYS_MFP_P36_RESERVED 0x00404040UL |
#define | SYS_MFP_P36_Msk 0x00404040UL |
#define | SYS_MFP_P37_GPIO 0x00000000UL |
#define | SYS_MFP_P37_PWM2_CH7 0x00000080UL |
#define | SYS_MFP_P37_KSCAN_O21 0x00008000UL |
#define | SYS_MFP_P37_KSCAN_I2 0x00008080UL |
#define | SYS_MFP_P37_MDM_ACC_MATCH 0x00800000UL |
#define | SYS_MFP_P37_MDM_DBG15 0x00800080UL |
#define | SYS_MFP_P37_USB_DOP 0x00808000UL |
#define | SYS_MFP_P37_RESERVED 0x00808080UL |
#define | SYS_MFP_P37_Msk 0x00808080UL |
#define | SYS_MFP_P40_GPIO 0x00000000UL |
#define | SYS_MFP_P40_SPI0_CLK 0x00000001UL |
#define | SYS_MFP_P40_I2C0_SDA 0x00000100UL |
#define | SYS_MFP_P40_I2SS_CLK 0x00000101UL |
#define | SYS_MFP_P40_I2SM_CLK 0x00010000UL |
#define | SYS_MFP_P40_MDM_RX_DATA 0x00010001UL |
#define | SYS_MFP_P40_PWM2_CH0 0x00010100UL |
#define | SYS_MFP_P40_KSCAN_O2 0x00010101UL |
#define | SYS_MFP_P40_Msk 0x00010101UL |
#define | SYS_MFP_P41_GPIO 0x00000000UL |
#define | SYS_MFP_P41_SPI0_CS 0x00000002UL |
#define | SYS_MFP_P41_I2SS_DI 0x00000200UL |
#define | SYS_MFP_P41_PWM2_CH1 0x00000202UL |
#define | SYS_MFP_P41_I2SM_DI 0x00020000UL |
#define | SYS_MFP_P41_MDM_RX_CLK 0x00020002UL |
#define | SYS_MFP_P41_MDM_DBG13 0x00020200UL |
#define | SYS_MFP_P41_I2C0_SCL 0x00020202UL |
#define | SYS_MFP_P41_Msk 0x00020202UL |
#define | SYS_MFP_P42_GPIO 0x00000000UL |
#define | SYS_MFP_P42_SPI0_MISO 0x00000004UL |
#define | SYS_MFP_P42_I2SS_DO 0x00000400UL |
#define | SYS_MFP_P42_PWM2_CH2 0x00000404UL |
#define | SYS_MFP_P42_I2SM_DO 0x00040000UL |
#define | SYS_MFP_P42_MDM_RX_DAT0 0x00040004UL |
#define | SYS_MFP_P42_LL_DBG02 0x00040400UL |
#define | SYS_MFP_P42_MDM_DBG20 0x00040404UL |
#define | SYS_MFP_P42_Msk 0x00040404UL |
#define | SYS_MFP_P43_GPIO 0x00000000UL |
#define | SYS_MFP_P43_SPI0_MOSI 0x00000008UL |
#define | SYS_MFP_P43_UART0_RX 0x00000800UL |
#define | SYS_MFP_P43_PWM2_CH3 0x00000808UL |
#define | SYS_MFP_P43_I2SMCLK 0x00080000UL |
#define | SYS_MFP_P43_MDM_RX_DAT1 0x00080008UL |
#define | SYS_MFP_P43_UART0_TX 0x00080008UL |
#define | SYS_MFP_P43_MDM_DBG00 0x00080800UL |
#define | SYS_MFP_P43_KSCAN_O15 0x00080808UL |
#define | SYS_MFP_P43_Msk 0x00080808UL |
#define | SYS_MFP_P44_GPIO 0x00000000UL |
#define | SYS_MFP_P44_UART0_TX 0x00000010UL |
#define | SYS_MFP_P44_I2SS_WS 0x00001000UL |
#define | SYS_MFP_P44_PWM2_CH4 0x00001010UL |
#define | SYS_MFP_P44_I2SM_WS 0x00100000UL |
#define | SYS_MFP_P44_MDM_IO_RSTN 0x00100010UL |
#define | SYS_MFP_P44_MDM_DBG01 0x00101000UL |
#define | SYS_MFP_P44_USB_DOM 0x00101010UL |
#define | SYS_MFP_P44_Msk 0x00101010UL |
#define | SYS_MFP_P45_GPIO 0x00000000UL |
#define | SYS_MFP_P45_PWM2_CH0 0x00000020UL |
#define | SYS_MFP_P45_KSCAN_O22 0x00002000UL |
#define | SYS_MFP_P45_MDM_EST_DONE 0x00002020UL |
#define | SYS_MFP_P45_USB_NDOE 0x00200000UL |
#define | SYS_MFP_P45_RESERVED 0x00200020UL |
#define | SYS_MFP_P45_RESERVED1 0x00202000UL |
#define | SYS_MFP_P45_RESERVED2 0x00202020UL |
#define | SYS_MFP_P45_Msk 0x00202020UL |
#define | SYS_MFP_P46_GPIO 0x00000000UL |
#define | SYS_MFP_P46_SWD_CLK 0x00000040UL |
#define | SYS_MFP_P46_UART1_RX 0x00004000UL |
#define | SYS_MFP_P46_I2C0_SCL 0x00004040UL |
#define | SYS_MFP_P46_SPI0_CLK 0x00400000UL |
#define | SYS_MFP_P46_ANT_SW5 0x00400040UL |
#define | SYS_MFP_P46_KSCAN_O0 0x00404000UL |
#define | SYS_MFP_P46_MDM_DBG09 0x00404040UL |
#define | SYS_MFP_P46_Msk 0x00404040UL |
#define | SYS_MFP_P47_GPIO 0x00000000UL |
#define | SYS_MFP_P47_SWD_DAT 0x00000080UL |
#define | SYS_MFP_P47_UART1_TX 0x00008000UL |
#define | SYS_MFP_P47_I2C0_SDA 0x00008080UL |
#define | SYS_MFP_P47_SPI0_CS 0x00800000UL |
#define | SYS_MFP_P47_ANT_SW6 0x00800080UL |
#define | SYS_MFP_P47_KSCAN_O1 0x00808000UL |
#define | SYS_MFP_P47_MDM_DBG16 0x00808080UL |
#define | SYS_MFP_P47_Msk 0x00808080UL |
#define | SYS_MFP_P50_GPIO 0x00000000UL |
#define | SYS_MFP_P50_PWM2_CH1 0x00000001UL |
#define | SYS_MFP_P50_KSCAN_O0 0x00000100UL |
#define | SYS_MFP_P50_MDM_STDBY_EN 0x00000101UL |
#define | SYS_MFP_P50_FSYNSD_D 0x00010000UL |
#define | SYS_MFP_P50_RESERVED1 0x00010001UL |
#define | SYS_MFP_P50_RESERVED2 0x00010100UL |
#define | SYS_MFP_P50_RCO_32M 0x00010101UL |
#define | SYS_MFP_P50_Msk 0x00010101UL |
#define | SYS_MFP_P51_GPIO 0x00000000UL |
#define | SYS_MFP_P51_PWM1_CH7 0x00000002UL |
#define | SYS_MFP_P51_KSCAN_O1 0x00000200UL |
#define | SYS_MFP_P51_QDEC_X_IDX 0x00000202UL |
#define | SYS_MFP_P51_FSYNSD_DIV2 0x00020000UL |
#define | SYS_MFP_P51_RESERVED1 0x00020002UL |
#define | SYS_MFP_P51_RESERVED2 0x00020200UL |
#define | SYS_MFP_P51_XTH_32M 0x00020202UL |
#define | SYS_MFP_P51_Msk 0x00020202UL |
#define | SYS_MFP_P52_GPIO 0x00000000UL |
#define | SYS_MFP_P52_EXT_STADC 0x00000004UL |
#define | SYS_MFP_P52_SPI1_CS 0x00000400UL |
#define | SYS_MFP_P52_INT1 0x00000404UL |
#define | SYS_MFP_P52_ADC_CH3 0x00040000UL |
#define | SYS_MFP_P52_KSCAN_O2 0x00040004UL |
#define | SYS_MFP_P52_ANT_SW7 0x00040400UL |
#define | SYS_MFP_P52_LL_DBG00 0x00040404UL |
#define | SYS_MFP_P52_Msk 0x00040404UL |
#define | SYS_MFP_P53_GPIO 0x00000000UL |
#define | SYS_MFP_P53_PWM1_CH3 0x00000008UL |
#define | SYS_MFP_P53_KSCAN_O3 0x00000800UL |
#define | SYS_MFP_P53_QDEC_Y_IDX 0x00000808UL |
#define | SYS_MFP_P53_RESERVED 0x00080000UL |
#define | SYS_MFP_P53_RESERVED1 0x00080008UL |
#define | SYS_MFP_P53_RESERVED2 0x00080800UL |
#define | SYS_MFP_P53_RESERVED3 0x00080808UL |
#define | SYS_MFP_P53_Msk 0x00080808UL |
#define | SYS_MFP_P54_GPIO 0x00000000UL |
#define | SYS_MFP_P54_PWM2_CH2 0x00000010UL |
#define | SYS_MFP_P54_KSCAN_O23 0x00001000UL |
#define | SYS_MFP_P54_QDEC_Z_IDX 0x00001010UL |
#define | SYS_MFP_P54_RESERVED 0x00100000UL |
#define | SYS_MFP_P54_RESERVED1 0x00100010UL |
#define | SYS_MFP_P54_RESERVED2 0x00101000UL |
#define | SYS_MFP_P54_RESERVED3 0x00101010UL |
#define | SYS_MFP_P54_Msk 0x00101010UL |
#define | SYS_MFP_P55_GPIO 0x00000000UL |
#define | SYS_MFP_P55_PWM2_CH3 0x00000020UL |
#define | SYS_MFP_P55_KSCAN_O4 0x00002000UL |
#define | SYS_MFP_P55_QDEC_X0 0x00002020UL |
#define | SYS_MFP_P55_RESERVED 0x00200000UL |
#define | SYS_MFP_P55_RESERVED1 0x00200020UL |
#define | SYS_MFP_P55_RESERVED2 0x00202000UL |
#define | SYS_MFP_P55_RESERVED3 0x00202020UL |
#define | SYS_MFP_P55_Msk 0x00202020UL |
#define | SYS_MFP_P56_GPIO 0x00000000UL |
#define | SYS_MFP_P56_PWM1_CH6 0x00000040UL |
#define | SYS_MFP_P56_UART0_CTS 0x00004000UL |
#define | SYS_MFP_P56_UART1_TX 0x00004040UL |
#define | SYS_MFP_P56_QDEC_X0 0x00400000UL |
#define | SYS_MFP_P56_KSCAN_O11 0x00400040UL |
#define | SYS_MFP_P56_MDM_DBG19 0x00404000UL |
#define | SYS_MFP_P56_LL_DBG11 0x00404040UL |
#define | SYS_MFP_P56_Msk 0x00404040UL |
#define | SYS_MFP_P57_GPIO 0x00000000UL |
#define | SYS_MFP_P57_PWM2_CH5 0x00000080UL |
#define | SYS_MFP_P57_KSCAN_O5 0x00008000UL |
#define | SYS_MFP_P57_QDEC_X1 0x00008080UL |
#define | SYS_MFP_P57_RESERVED 0x00800000UL |
#define | SYS_MFP_P57_RESERVED1 0x00800080UL |
#define | SYS_MFP_P57_RESERVED2 0x00808000UL |
#define | SYS_MFP_P57_RESERVED3 0x00808080UL |
#define | SYS_MFP_P57_Msk 0x00808080UL |
#define | SYS_SET_MFP(Port, Bit, Func) (SYS->Port##_MFP = (SYS->Port##_MFP & ~SYS_MFP_##Port##Bit##_Msk) | SYS_MFP_##Port##Bit##_##Func) |
Set pin function. More... | |
#define | SYS_BLDBCTL_BODDBSEL_2POW4 0x00000001UL |
#define | SYS_BLDBCTL_BODDBSEL_2POW7 0x00000002UL |
#define | SYS_BLDBCTL_BODDBSEL_2POW9 0x00000004UL |
#define | SYS_BLDBCTL_BODDBSEL_2POW11 0x00000008UL |
#define | SYS_BLDBCTL_BODDBSEL_2POW13 0x00000010UL |
#define | SYS_BLDBCTL_BODDBSEL_2POW15 0x00000020UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW4 0x00000100UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW7 0x00000200UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW9 0x00000400UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW11 0x00000800UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW13 0x00001000UL |
#define | SYS_BLDBCTL_LVRDBSEL_2POW15 0x00002000UL |
#define | SYS_ENABLE_BOD_RST() (SYS->BODCTL |= SYS_BODCTL_BODRSTEN_Msk) |
Enable Brown-out detector reset function. More... | |
Functions | |
__STATIC_INLINE void | SYS_UnlockReg (void) |
Disable register write-protection function. More... | |
__STATIC_INLINE void | SYS_LockReg (void) |
Enable register write-protection function. More... | |
uint32_t | SYS_IsRegLocked (void) |
This function check register write-protection bit setting. More... | |
void | SYS_DisableBOD (void) |
This function disable BOD function. More... | |
void | SYS_delay_10nop (uint32_t u32NopCnt) |
Set delay time. More... | |
Panchip series system driver header file.