MG32L003 Standard Peripherals Firmware Library
|
SYSCON driver modules. More...
Modules | |
SYSCON_Exported_Constants | |
Macros | |
#define | SYSCON_REGWR_LOCK() (SYSCON->UNLOCK = (0x2AD5334C << SYSCON_UNLOCK_KEY_Pos) & SYSCON_UNLOCK_KEY) |
#define | SYSCON_REGWR_UNLOCK() (SYSCON->UNLOCK = SYSCON_UNLOCK_UNLOCK | (0x2AD5334C << SYSCON_UNLOCK_KEY_Pos)) |
#define | SYSCON_DBGDEEPSLEEP_ENABLE() |
Macro to disable deep sleep mode in debug mode, allow to debug deep sleep mode. More... | |
#define | SYSCON_DBGDEEPSLEEP_DISABLE() |
Macro to enable deep sleep mode in debug mode, debug mode will quit in deep sleep mode. More... | |
#define | SYSCON_LOCKUP_ENABLE() |
Macro to enable cpu lock up function. More... | |
#define | SYSCON_LOCKUP_DISABLE() |
Macro to disable cpu lock up function. More... | |
#define | SYSCON_DEEPSLEEP_PADINT_AUTO() |
Macro to config PAD interrupt mode as AUTO for deep sleep:. More... | |
#define | SYSCON_DEEPSLEEP_PADINT_ACTIVE() |
Macro to config PAD interrupt mode as ACTIVE for deep sleep. More... | |
#define | SYSCON_LPTIM_GATE(SOURCE) |
Macro to select low power timer gate signal input source from gpio. More... | |
#define | SYSCON_TIM11_GATE(SOURCE) |
Macro to select timer11 gate signal input source from gpio. More... | |
#define | SYSCON_TIM10_GATE(SOURCE) |
Macro to select timer10 gate signal input source from gpio. More... | |
#define | SYSCON_SPINCS(SOURCE) |
Macro to select spi slave mode NCS signal input source from gpio. More... | |
#define | SYSCON_PCA_CAP4(SOURCE) |
Macro to select pca cap4 signal input source from gpio. More... | |
#define | SYSCON_PCA_CAP3(SOURCE) |
Macro to select pca cap3 signal input source from gpio. More... | |
#define | SYSCON_PCA_CAP2(SOURCE) |
Macro to select pca cap2 signal input source from gpio. More... | |
#define | SYSCON_PCA_CAP1(SOURCE) |
Macro to select pca cap1 signal input source from gpio. More... | |
#define | SYSCON_PCA_CAP0(SOURCE) |
Macro to select pca cap0 signal input source from gpio. More... | |
#define | SYSCON_TIM1_BREAKIN_SEL(SOURCE) |
Macro to select timer1 break signal input source from other peripheral. More... | |
#define | SYSCON_TIM1_BREAKOUT_CFG(CONFIG) |
Macro to configure timer1 ocxp/ocxnp output signal when break. More... | |
#define | SYSCON_TIM1ETR_SEL(SOURCE) |
Macro to select timer1 etr signal input source from gpio. More... | |
#define | SYSCON_TIM1CH4IN_SEL(SOURCE) |
Macro to select tim1 ch4 signal input source from gpio. More... | |
#define | SYSCON_TIM1CH3IN_SEL(SOURCE) |
Macro to select tim1 ch3 signal input source from gpio. More... | |
#define | SYSCON_TIM1CH2IN_SEL(SOURCE) |
Macro to select tim1 ch2 signal input source from gpio. More... | |
#define | SYSCON_TIM1CH1IN_SEL(SOURCE) |
Macro to select tim1 ch1 signal input source from gpio. More... | |
#define | SYSCON_TIM2ETR_SEL(SOURCE) |
Macro to select timer2 etr signal input source from gpio. More... | |
#define | SYSCON_TIM2CH4IN_SEL(SOURCE) |
Macro to select tim2 ch4 signal input source from gpio. More... | |
#define | SYSCON_TIM2CH3IN_SEL(SOURCE) |
Macro to select tim2 ch3 signal input source from gpio. More... | |
#define | SYSCON_TIM2CH2IN_SEL(SOURCE) |
Macro to select tim2 ch2 signal input source from gpio. More... | |
#define | SYSCON_TIM2CH1IN_SEL(SOURCE) |
Macro to select tim2 ch1 signal input source from gpio. More... | |
SYSCON driver modules.
#define SYSCON_DBGDEEPSLEEP_DISABLE | ( | ) |
Macro to enable deep sleep mode in debug mode, debug mode will quit in deep sleep mode.
#define SYSCON_DBGDEEPSLEEP_ENABLE | ( | ) |
Macro to disable deep sleep mode in debug mode, allow to debug deep sleep mode.
#define SYSCON_DEEPSLEEP_PADINT_ACTIVE | ( | ) |
Macro to config PAD interrupt mode as ACTIVE for deep sleep.
#define SYSCON_DEEPSLEEP_PADINT_AUTO | ( | ) |
Macro to config PAD interrupt mode as AUTO for deep sleep:.
#define SYSCON_LOCKUP_DISABLE | ( | ) |
Macro to disable cpu lock up function.
#define SYSCON_LOCKUP_ENABLE | ( | ) |
Macro to enable cpu lock up function.
#define SYSCON_LPTIM_GATE | ( | SOURCE | ) |
Macro to select low power timer gate signal input source from gpio.
SOURCE | source for LPTIM gate input This parameter can be one of the following values:
|
#define SYSCON_PCA_CAP0 | ( | SOURCE | ) |
Macro to select pca cap0 signal input source from gpio.
SOURCE | source for pca cap0 input This parameter can be one of the following values:
|
#define SYSCON_PCA_CAP1 | ( | SOURCE | ) |
Macro to select pca cap1 signal input source from gpio.
SOURCE | source for pca cap1 input This parameter can be one of the following values:
|
#define SYSCON_PCA_CAP2 | ( | SOURCE | ) |
Macro to select pca cap2 signal input source from gpio.
SOURCE | source for pca cap2 input This parameter can be one of the following values:
|
#define SYSCON_PCA_CAP3 | ( | SOURCE | ) |
Macro to select pca cap3 signal input source from gpio.
SOURCE | source for pca cap3 input This parameter can be one of the following values:
|
#define SYSCON_PCA_CAP4 | ( | SOURCE | ) |
Macro to select pca cap4 signal input source from gpio.
SOURCE | source for pca cap4 input This parameter can be one of the following values:
|
#define SYSCON_SPINCS | ( | SOURCE | ) |
Macro to select spi slave mode NCS signal input source from gpio.
SOURCE | source for spi NCS signal input This parameter can be one of the following values:
|
#define SYSCON_TIM10_GATE | ( | SOURCE | ) |
Macro to select timer10 gate signal input source from gpio.
SOURCE | source for TIM10 gate input This parameter can be one of the following values:
|
#define SYSCON_TIM11_GATE | ( | SOURCE | ) |
Macro to select timer11 gate signal input source from gpio.
SOURCE | source for TIM11 gate input This parameter can be one of the following values:
|
#define SYSCON_TIM1_BREAKIN_SEL | ( | SOURCE | ) |
Macro to select timer1 break signal input source from other peripheral.
SOURCE | source for timer1 break signal input This parameter can be any combination the following values:
|
#define SYSCON_TIM1_BREAKOUT_CFG | ( | CONFIG | ) |
Macro to configure timer1 ocxp/ocxnp output signal when break.
CONFIG | config ocxp/ocxnp output signal when break received This parameter can be one of the following values:
|
#define SYSCON_TIM1CH1IN_SEL | ( | SOURCE | ) |
Macro to select tim1 ch1 signal input source from gpio.
SOURCE | source for tim1 ch1 input This parameter can be one of the following values:
|
#define SYSCON_TIM1CH2IN_SEL | ( | SOURCE | ) |
Macro to select tim1 ch2 signal input source from gpio.
SOURCE | source for tim1 ch2 input This parameter can be one of the following values:
|
#define SYSCON_TIM1CH3IN_SEL | ( | SOURCE | ) |
Macro to select tim1 ch3 signal input source from gpio.
SOURCE | source for tim1 ch3 input This parameter can be one of the following values:
|
#define SYSCON_TIM1CH4IN_SEL | ( | SOURCE | ) |
Macro to select tim1 ch4 signal input source from gpio.
SOURCE | source for tim1 ch4 input This parameter can be one of the following values:
|
#define SYSCON_TIM1ETR_SEL | ( | SOURCE | ) |
Macro to select timer1 etr signal input source from gpio.
SOURCE | source for timer1 etr input This parameter can be one of the following values:
|
#define SYSCON_TIM2CH1IN_SEL | ( | SOURCE | ) |
Macro to select tim2 ch1 signal input source from gpio.
SOURCE | source for tim2 ch1 input This parameter can be one of the following values:
|
#define SYSCON_TIM2CH2IN_SEL | ( | SOURCE | ) |
Macro to select tim2 ch2 signal input source from gpio.
SOURCE | source for tim2 ch2 input This parameter can be one of the following values:
|
#define SYSCON_TIM2CH3IN_SEL | ( | SOURCE | ) |
Macro to select tim2 ch3 signal input source from gpio.
SOURCE | source for tim2 ch3 input This parameter can be one of the following values:
|
#define SYSCON_TIM2CH4IN_SEL | ( | SOURCE | ) |
Macro to select tim2 ch4 signal input source from gpio.
SOURCE | source for tim2 ch4 input This parameter can be one of the following values:
|
#define SYSCON_TIM2ETR_SEL | ( | SOURCE | ) |
Macro to select timer2 etr signal input source from gpio.
SOURCE | source for timer2 etr input This parameter can be one of the following values:
|