Home
last modified time | relevance | path

Searched refs:BODCTL (Results 1 – 3 of 3) sorted by relevance

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Dsys.c58 return ((SYS->BODCTL & SYS_BODCTL_BODOUT_Msk) >> SYS_BODCTL_BODOUT_Pos); in SYS_GetBODStatus()
219 SYS->BODCTL |= SYS_BODCTL_BODEN_Msk; in SYS_EnableBOD()
222 SYS->BODCTL = (SYS->BODCTL & ~SYS_BODCTL_BODRSTEN_Msk) | (uint32_t)i32Mode; in SYS_EnableBOD()
225 SYS->BODCTL = (SYS->BODCTL & ~SYS_BODCTL_BODVL_Msk) | u32BODLevel; in SYS_EnableBOD()
237 SYS->BODCTL &= ~SYS_BODCTL_BODEN_Msk; in SYS_DisableBOD()
/hal_nuvoton-3.4.0/m48x/StdDriver/inc/
Dsys.h1343 #define SYS_CLEAR_BOD_INT_FLAG() (SYS->BODCTL |= SYS_BODCTL_BODIF_Msk)
1353 #define SYS_CLEAR_BOD_LPM() (SYS->BODCTL &= ~SYS_BODCTL_BODLPM_Msk)
1363 #define SYS_DISABLE_BOD() (SYS->BODCTL &= ~SYS_BODCTL_BODEN_Msk)
1373 #define SYS_ENABLE_BOD() (SYS->BODCTL |= SYS_BODCTL_BODEN_Msk)
1383 #define SYS_GET_BOD_INT_FLAG() (SYS->BODCTL & SYS_BODCTL_BODIF_Msk)
1394 #define SYS_GET_BOD_OUTPUT() (SYS->BODCTL & SYS_BODCTL_BODOUT_Msk)
1404 #define SYS_DISABLE_BOD_RST() (SYS->BODCTL &= ~SYS_BODCTL_BODRSTEN_Msk)
1414 #define SYS_ENABLE_BOD_RST() (SYS->BODCTL |= SYS_BODCTL_BODRSTEN_Msk)
1424 #define SYS_SET_BOD_LPM() (SYS->BODCTL |= SYS_BODCTL_BODLPM_Msk)
1442 #define SYS_SET_BOD_LEVEL(u32Level) (SYS->BODCTL = (SYS->BODCTL & ~SYS_BODCTL_BODVL_Msk) | (u32…
[all …]
/hal_nuvoton-3.4.0/m48x/Devices/M480/Include/
Dsys_reg.h2117 …__IO uint32_t BODCTL; /*!< [0x0018] Brown-Out Detector Control Register … member