41 SYS->RSTSTS |= u32RstSrc;
181 *(
volatile uint32_t *)((uint32_t)&(
SYS->IPRST0) + (u32ModuleIndex>>24)) |= 1<<(u32ModuleIndex & 0x00ffffff);
182 *(
volatile uint32_t *)((uint32_t)&(
SYS->IPRST0) + (u32ModuleIndex>>24)) &= ~(1<<(u32ModuleIndex & 0x00ffffff));
212 SYS->BODCTL &= ~SYS_BODCTL_BODEN_Msk;
NUC472/NUC442 peripheral access layer header file. This file contains all the peripheral register's d...
#define SYS_REGLCTL_REGLCTL_Msk
#define SYS_IPRST0_CPURST_Msk
#define SYS_BODCTL_BODEN_Msk
#define SYS_IPRST0_CHIPRST_Msk
#define SYS_BODCTL_BODRSTEN_Msk
#define SYS_BODCTL_BODVL_Msk
#define SYS_BODCTL_BODOUT_Msk
void SYS_ResetCPU(void)
This function reset CPU.
void SYS_LockReg(void)
This function enable register write-protection function.
uint32_t SYS_GetResetSrc(void)
This function get the system reset source register value.
void SYS_EnableBOD(int32_t i32Mode, uint32_t u32BODLevel)
This function configure BOD function. Configure BOD reset or interrupt mode and set Brown-out voltage...
void SYS_ResetModule(uint32_t u32ModuleIndex)
This function reset selected modules.
void SYS_ClearResetSrc(uint32_t u32Src)
This function clear the selected system reset source.
uint32_t SYS_ReadPDID(void)
This function get product ID.
uint32_t SYS_GetBODStatus(void)
This function get Brown-out detector output status.
void SYS_UnlockReg(void)
This function disable register write-protection function.
void SYS_DisableBOD(void)
This function disable BOD function.
uint32_t SYS_IsRegLocked(void)
This function check register write-protection bit setting.
void SYS_ResetChip(void)
This function reset chip.