Classes | Macros
component/supc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Supc
 Supc hardware registers. More...
 

Macros

#define SUPC_CR_KEY(value)   ((SUPC_CR_KEY_Msk & ((value) << SUPC_CR_KEY_Pos)))
 
#define SUPC_CR_KEY_Msk   (0xffu << SUPC_CR_KEY_Pos)
 (SUPC_CR) Password More...
 
#define SUPC_CR_KEY_PASSWD   (0xA5u << 24)
 (SUPC_CR) Writing any other value in this field aborts the write operation. More...
 
#define SUPC_CR_KEY_Pos   24
 
#define SUPC_CR_VROFF   (0x1u << 2)
 (SUPC_CR) Voltage Regulator Off More...
 
#define SUPC_CR_VROFF_NO_EFFECT   (0x0u << 2)
 (SUPC_CR) No effect. More...
 
#define SUPC_CR_VROFF_STOP_VREG   (0x1u << 2)
 (SUPC_CR) If KEY is correct, VROFF asserts the vddcore_nreset and stops the voltage regulator. More...
 
#define SUPC_CR_XTALSEL   (0x1u << 3)
 (SUPC_CR) Crystal Oscillator Select More...
 
#define SUPC_CR_XTALSEL_CRYSTAL_SEL   (0x1u << 3)
 (SUPC_CR) If KEY is correct, XTALSEL switches the slow clock on the crystal oscillator output. More...
 
#define SUPC_CR_XTALSEL_NO_EFFECT   (0x0u << 3)
 (SUPC_CR) No effect. More...
 
#define SUPC_MR_BKUPRETON   (0x1u << 17)
 (SUPC_MR) SRAM On In Backup Mode More...
 
#define SUPC_MR_BODDIS   (0x1u << 13)
 (SUPC_MR) Brownout Detector Disable More...
 
#define SUPC_MR_BODDIS_DISABLE   (0x1u << 13)
 (SUPC_MR) The core brownout detector is disabled. More...
 
#define SUPC_MR_BODDIS_ENABLE   (0x0u << 13)
 (SUPC_MR) The core brownout detector is enabled. More...
 
#define SUPC_MR_BODRSTEN   (0x1u << 12)
 (SUPC_MR) Brownout Detector Reset Enable More...
 
#define SUPC_MR_BODRSTEN_ENABLE   (0x1u << 12)
 (SUPC_MR) The core reset signal, vddcore_nreset is asserted when a brownout detection occurs. More...
 
#define SUPC_MR_BODRSTEN_NOT_ENABLE   (0x0u << 12)
 (SUPC_MR) The core reset signal vddcore_nreset is not affected when a brownout detection occurs. More...
 
#define SUPC_MR_KEY(value)   ((SUPC_MR_KEY_Msk & ((value) << SUPC_MR_KEY_Pos)))
 
#define SUPC_MR_KEY_Msk   (0xffu << SUPC_MR_KEY_Pos)
 (SUPC_MR) Password Key More...
 
#define SUPC_MR_KEY_PASSWD   (0xA5u << 24)
 (SUPC_MR) Writing any other value in this field aborts the write operation. More...
 
#define SUPC_MR_KEY_Pos   24
 
#define SUPC_MR_ONREG   (0x1u << 14)
 (SUPC_MR) Voltage Regulator Enable More...
 
#define SUPC_MR_ONREG_ONREG_UNUSED   (0x0u << 14)
 (SUPC_MR) Internal voltage regulator is not used (external power supply is used). More...
 
#define SUPC_MR_ONREG_ONREG_USED   (0x1u << 14)
 (SUPC_MR) Internal voltage regulator is used. More...
 
#define SUPC_MR_OSCBYPASS   (0x1u << 20)
 (SUPC_MR) Oscillator Bypass More...
 
#define SUPC_MR_OSCBYPASS_BYPASS   (0x1u << 20)
 (SUPC_MR) The 32 kHz crystal oscillator is bypassed if XTALSEL (SUPC_CR) is set. OSCBYPASS must be set prior to setting XTALSEL. More...
 
#define SUPC_MR_OSCBYPASS_NO_EFFECT   (0x0u << 20)
 (SUPC_MR) No effect. Clock selection depends on the value of XTALSEL (SUPC_CR). More...
 
#define SUPC_SMMR_SMIEN   (0x1u << 13)
 (SUPC_SMMR) Supply Monitor Interrupt Enable More...
 
#define SUPC_SMMR_SMIEN_ENABLE   (0x1u << 13)
 (SUPC_SMMR) The SUPC interrupt signal is asserted when a supply monitor detection occurs. More...
 
#define SUPC_SMMR_SMIEN_NOT_ENABLE   (0x0u << 13)
 (SUPC_SMMR) The SUPC interrupt signal is not affected when a supply monitor detection occurs. More...
 
#define SUPC_SMMR_SMRSTEN   (0x1u << 12)
 (SUPC_SMMR) Supply Monitor Reset Enable More...
 
#define SUPC_SMMR_SMRSTEN_ENABLE   (0x1u << 12)
 (SUPC_SMMR) The core reset signal, vddcore_nreset is asserted when a supply monitor detection occurs. More...
 
#define SUPC_SMMR_SMRSTEN_NOT_ENABLE   (0x0u << 12)
 (SUPC_SMMR) The core reset signal vddcore_nreset is not affected when a supply monitor detection occurs. More...
 
#define SUPC_SMMR_SMSMPL(value)   ((SUPC_SMMR_SMSMPL_Msk & ((value) << SUPC_SMMR_SMSMPL_Pos)))
 
#define SUPC_SMMR_SMSMPL_2048SLCK   (0x4u << 8)
 (SUPC_SMMR) Supply Monitor enabled one SLCK period every 2,048 SLCK periods More...
 
#define SUPC_SMMR_SMSMPL_256SLCK   (0x3u << 8)
 (SUPC_SMMR) Supply Monitor enabled one SLCK period every 256 SLCK periods More...
 
#define SUPC_SMMR_SMSMPL_32SLCK   (0x2u << 8)
 (SUPC_SMMR) Supply Monitor enabled one SLCK period every 32 SLCK periods More...
 
#define SUPC_SMMR_SMSMPL_CSM   (0x1u << 8)
 (SUPC_SMMR) Continuous Supply Monitor More...
 
#define SUPC_SMMR_SMSMPL_Msk   (0x7u << SUPC_SMMR_SMSMPL_Pos)
 (SUPC_SMMR) Supply Monitor Sampling Period More...
 
#define SUPC_SMMR_SMSMPL_Pos   8
 
#define SUPC_SMMR_SMSMPL_SMD   (0x0u << 8)
 (SUPC_SMMR) Supply Monitor disabled More...
 
#define SUPC_SMMR_SMTH(value)   ((SUPC_SMMR_SMTH_Msk & ((value) << SUPC_SMMR_SMTH_Pos)))
 
#define SUPC_SMMR_SMTH_Msk   (0xfu << SUPC_SMMR_SMTH_Pos)
 (SUPC_SMMR) Supply Monitor Threshold More...
 
#define SUPC_SMMR_SMTH_Pos   0
 
#define SUPC_SR_BODRSTS   (0x1u << 3)
 (SUPC_SR) Brownout Detector Reset Status (cleared on read) More...
 
#define SUPC_SR_BODRSTS_NO   (0x0u << 3)
 (SUPC_SR) No core brownout rising edge event has been detected since the last read of the SUPC_SR. More...
 
#define SUPC_SR_BODRSTS_PRESENT   (0x1u << 3)
 (SUPC_SR) At least one brownout output rising edge event has been detected since the last read of the SUPC_SR. More...
 
#define SUPC_SR_LPDBCS0   (0x1u << 13)
 (SUPC_SR) Low-power Debouncer Wake-up Status on WKUP0 (cleared on read) More...
 
#define SUPC_SR_LPDBCS0_NO   (0x0u << 13)
 (SUPC_SR) No wake-up due to the assertion of the WKUP0 pin has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_LPDBCS0_PRESENT   (0x1u << 13)
 (SUPC_SR) At least one wake-up due to the assertion of the WKUP0 pin has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_LPDBCS1   (0x1u << 14)
 (SUPC_SR) Low-power Debouncer Wake-up Status on WKUP1 (cleared on read) More...
 
#define SUPC_SR_LPDBCS1_NO   (0x0u << 14)
 (SUPC_SR) No wake-up due to the assertion of the WKUP1 pin has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_LPDBCS1_PRESENT   (0x1u << 14)
 (SUPC_SR) At least one wake-up due to the assertion of the WKUP1 pin has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_OSCSEL   (0x1u << 7)
 (SUPC_SR) 32-kHz Oscillator Selection Status More...
 
#define SUPC_SR_OSCSEL_CRYST   (0x1u << 7)
 (SUPC_SR) The slow clock, SLCK, is generated by the 32 kHz crystal oscillator. More...
 
#define SUPC_SR_OSCSEL_RC   (0x0u << 7)
 (SUPC_SR) The slow clock, SLCK, is generated by the embedded 32 kHz RC oscillator. More...
 
#define SUPC_SR_SMOS   (0x1u << 6)
 (SUPC_SR) Supply Monitor Output Status More...
 
#define SUPC_SR_SMOS_HIGH   (0x0u << 6)
 (SUPC_SR) The supply monitor detected VDDIO higher than its threshold at its last measurement. More...
 
#define SUPC_SR_SMOS_LOW   (0x1u << 6)
 (SUPC_SR) The supply monitor detected VDDIO lower than its threshold at its last measurement. More...
 
#define SUPC_SR_SMRSTS   (0x1u << 4)
 (SUPC_SR) Supply Monitor Reset Status (cleared on read) More...
 
#define SUPC_SR_SMRSTS_NO   (0x0u << 4)
 (SUPC_SR) No supply monitor detection has generated a core reset since the last read of the SUPC_SR. More...
 
#define SUPC_SR_SMRSTS_PRESENT   (0x1u << 4)
 (SUPC_SR) At least one supply monitor detection has generated a core reset since the last read of the SUPC_SR. More...
 
#define SUPC_SR_SMS   (0x1u << 5)
 (SUPC_SR) Supply Monitor Status (cleared on read) More...
 
#define SUPC_SR_SMS_NO   (0x0u << 5)
 (SUPC_SR) No supply monitor detection since the last read of SUPC_SR. More...
 
#define SUPC_SR_SMS_PRESENT   (0x1u << 5)
 (SUPC_SR) At least one supply monitor detection since the last read of SUPC_SR. More...
 
#define SUPC_SR_SMWS   (0x1u << 2)
 (SUPC_SR) Supply Monitor Detection Wake-up Status (cleared on read) More...
 
#define SUPC_SR_SMWS_NO   (0x0u << 2)
 (SUPC_SR) No wake-up due to a supply monitor detection has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_SMWS_PRESENT   (0x1u << 2)
 (SUPC_SR) At least one wake-up due to a supply monitor detection has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS0   (0x1u << 16)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS0_DIS   (0x0u << 16)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS0_EN   (0x1u << 16)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS1   (0x1u << 17)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS10   (0x1u << 26)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS10_DIS   (0x0u << 26)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS10_EN   (0x1u << 26)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS11   (0x1u << 27)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS11_DIS   (0x0u << 27)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS11_EN   (0x1u << 27)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS12   (0x1u << 28)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS12_DIS   (0x0u << 28)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS12_EN   (0x1u << 28)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS13   (0x1u << 29)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS13_DIS   (0x0u << 29)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS13_EN   (0x1u << 29)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS1_DIS   (0x0u << 17)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS1_EN   (0x1u << 17)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS2   (0x1u << 18)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS2_DIS   (0x0u << 18)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS2_EN   (0x1u << 18)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS3   (0x1u << 19)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS3_DIS   (0x0u << 19)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS3_EN   (0x1u << 19)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS4   (0x1u << 20)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS4_DIS   (0x0u << 20)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS4_EN   (0x1u << 20)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS5   (0x1u << 21)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS5_DIS   (0x0u << 21)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS5_EN   (0x1u << 21)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS6   (0x1u << 22)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS6_DIS   (0x0u << 22)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS6_EN   (0x1u << 22)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS7   (0x1u << 23)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS7_DIS   (0x0u << 23)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS7_EN   (0x1u << 23)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS8   (0x1u << 24)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS8_DIS   (0x0u << 24)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS8_EN   (0x1u << 24)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPIS9   (0x1u << 25)
 (SUPC_SR) WKUPx Input Status (cleared on read) More...
 
#define SUPC_SR_WKUPIS9_DIS   (0x0u << 25)
 (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
 
#define SUPC_SR_WKUPIS9_EN   (0x1u << 25)
 (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPS   (0x1u << 1)
 (SUPC_SR) WKUP Wake-up Status (cleared on read) More...
 
#define SUPC_SR_WKUPS_NO   (0x0u << 1)
 (SUPC_SR) No wake-up due to the assertion of the WKUP pins has occurred since the last read of SUPC_SR. More...
 
#define SUPC_SR_WKUPS_PRESENT   (0x1u << 1)
 (SUPC_SR) At least one wake-up due to the assertion of the WKUP pins has occurred since the last read of SUPC_SR. More...
 
#define SUPC_WUIR_WKUPEN0   (0x1u << 0)
 (SUPC_WUIR) Wake-up Input Enable 0 to 0 More...
 
#define SUPC_WUIR_WKUPEN0_DISABLE   (0x0u << 0)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN0_ENABLE   (0x1u << 0)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN1   (0x1u << 1)
 (SUPC_WUIR) Wake-up Input Enable 0 to 1 More...
 
#define SUPC_WUIR_WKUPEN10   (0x1u << 10)
 (SUPC_WUIR) Wake-up Input Enable 0 to 10 More...
 
#define SUPC_WUIR_WKUPEN10_DISABLE   (0x0u << 10)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN10_ENABLE   (0x1u << 10)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN11   (0x1u << 11)
 (SUPC_WUIR) Wake-up Input Enable 0 to 11 More...
 
#define SUPC_WUIR_WKUPEN11_DISABLE   (0x0u << 11)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN11_ENABLE   (0x1u << 11)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN12   (0x1u << 12)
 (SUPC_WUIR) Wake-up Input Enable 0 to 12 More...
 
#define SUPC_WUIR_WKUPEN12_DISABLE   (0x0u << 12)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN12_ENABLE   (0x1u << 12)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN13   (0x1u << 13)
 (SUPC_WUIR) Wake-up Input Enable 0 to 13 More...
 
#define SUPC_WUIR_WKUPEN13_DISABLE   (0x0u << 13)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN13_ENABLE   (0x1u << 13)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN1_DISABLE   (0x0u << 1)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN1_ENABLE   (0x1u << 1)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN2   (0x1u << 2)
 (SUPC_WUIR) Wake-up Input Enable 0 to 2 More...
 
#define SUPC_WUIR_WKUPEN2_DISABLE   (0x0u << 2)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN2_ENABLE   (0x1u << 2)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN3   (0x1u << 3)
 (SUPC_WUIR) Wake-up Input Enable 0 to 3 More...
 
#define SUPC_WUIR_WKUPEN3_DISABLE   (0x0u << 3)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN3_ENABLE   (0x1u << 3)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN4   (0x1u << 4)
 (SUPC_WUIR) Wake-up Input Enable 0 to 4 More...
 
#define SUPC_WUIR_WKUPEN4_DISABLE   (0x0u << 4)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN4_ENABLE   (0x1u << 4)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN5   (0x1u << 5)
 (SUPC_WUIR) Wake-up Input Enable 0 to 5 More...
 
#define SUPC_WUIR_WKUPEN5_DISABLE   (0x0u << 5)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN5_ENABLE   (0x1u << 5)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN6   (0x1u << 6)
 (SUPC_WUIR) Wake-up Input Enable 0 to 6 More...
 
#define SUPC_WUIR_WKUPEN6_DISABLE   (0x0u << 6)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN6_ENABLE   (0x1u << 6)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN7   (0x1u << 7)
 (SUPC_WUIR) Wake-up Input Enable 0 to 7 More...
 
#define SUPC_WUIR_WKUPEN7_DISABLE   (0x0u << 7)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN7_ENABLE   (0x1u << 7)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN8   (0x1u << 8)
 (SUPC_WUIR) Wake-up Input Enable 0 to 8 More...
 
#define SUPC_WUIR_WKUPEN8_DISABLE   (0x0u << 8)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN8_ENABLE   (0x1u << 8)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPEN9   (0x1u << 9)
 (SUPC_WUIR) Wake-up Input Enable 0 to 9 More...
 
#define SUPC_WUIR_WKUPEN9_DISABLE   (0x0u << 9)
 (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
 
#define SUPC_WUIR_WKUPEN9_ENABLE   (0x1u << 9)
 (SUPC_WUIR) The corresponding wake-up input is enabled for a wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT0   (0x1u << 16)
 (SUPC_WUIR) Wake-up Input Type 0 to 0 More...
 
#define SUPC_WUIR_WKUPT0_HIGH   (0x1u << 16)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT0_LOW   (0x0u << 16)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT1   (0x1u << 17)
 (SUPC_WUIR) Wake-up Input Type 0 to 1 More...
 
#define SUPC_WUIR_WKUPT10   (0x1u << 26)
 (SUPC_WUIR) Wake-up Input Type 0 to 10 More...
 
#define SUPC_WUIR_WKUPT10_HIGH   (0x1u << 26)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT10_LOW   (0x0u << 26)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT11   (0x1u << 27)
 (SUPC_WUIR) Wake-up Input Type 0 to 11 More...
 
#define SUPC_WUIR_WKUPT11_HIGH   (0x1u << 27)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT11_LOW   (0x0u << 27)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT12   (0x1u << 28)
 (SUPC_WUIR) Wake-up Input Type 0 to 12 More...
 
#define SUPC_WUIR_WKUPT12_HIGH   (0x1u << 28)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT12_LOW   (0x0u << 28)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT13   (0x1u << 29)
 (SUPC_WUIR) Wake-up Input Type 0 to 13 More...
 
#define SUPC_WUIR_WKUPT13_HIGH   (0x1u << 29)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT13_LOW   (0x0u << 29)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT1_HIGH   (0x1u << 17)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT1_LOW   (0x0u << 17)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT2   (0x1u << 18)
 (SUPC_WUIR) Wake-up Input Type 0 to 2 More...
 
#define SUPC_WUIR_WKUPT2_HIGH   (0x1u << 18)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT2_LOW   (0x0u << 18)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT3   (0x1u << 19)
 (SUPC_WUIR) Wake-up Input Type 0 to 3 More...
 
#define SUPC_WUIR_WKUPT3_HIGH   (0x1u << 19)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT3_LOW   (0x0u << 19)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT4   (0x1u << 20)
 (SUPC_WUIR) Wake-up Input Type 0 to 4 More...
 
#define SUPC_WUIR_WKUPT4_HIGH   (0x1u << 20)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT4_LOW   (0x0u << 20)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT5   (0x1u << 21)
 (SUPC_WUIR) Wake-up Input Type 0 to 5 More...
 
#define SUPC_WUIR_WKUPT5_HIGH   (0x1u << 21)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT5_LOW   (0x0u << 21)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT6   (0x1u << 22)
 (SUPC_WUIR) Wake-up Input Type 0 to 6 More...
 
#define SUPC_WUIR_WKUPT6_HIGH   (0x1u << 22)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT6_LOW   (0x0u << 22)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT7   (0x1u << 23)
 (SUPC_WUIR) Wake-up Input Type 0 to 7 More...
 
#define SUPC_WUIR_WKUPT7_HIGH   (0x1u << 23)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT7_LOW   (0x0u << 23)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT8   (0x1u << 24)
 (SUPC_WUIR) Wake-up Input Type 0 to 8 More...
 
#define SUPC_WUIR_WKUPT8_HIGH   (0x1u << 24)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT8_LOW   (0x0u << 24)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT9   (0x1u << 25)
 (SUPC_WUIR) Wake-up Input Type 0 to 9 More...
 
#define SUPC_WUIR_WKUPT9_HIGH   (0x1u << 25)
 (SUPC_WUIR) A rising edge followed by a high level for a period defined by WKUPDBC on the cor-responding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUIR_WKUPT9_LOW   (0x0u << 25)
 (SUPC_WUIR) A falling edge followed by a low level for a period defined by WKUPDBC on the corre-sponding wake-up input forces the wake-up of the core power supply. More...
 
#define SUPC_WUMR_LPDBC(value)   ((SUPC_WUMR_LPDBC_Msk & ((value) << SUPC_WUMR_LPDBC_Pos)))
 
#define SUPC_WUMR_LPDBC_2_RTCOUT   (0x1u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 2 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_3_RTCOUT   (0x2u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 3 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_4_RTCOUT   (0x3u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 4 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_5_RTCOUT   (0x4u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 5 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_6_RTCOUT   (0x5u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 6 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_7_RTCOUT   (0x6u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 7 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_8_RTCOUT   (0x7u << 16)
 (SUPC_WUMR) WKUP0/1 in active state for at least 8 RTCOUTx clock periods More...
 
#define SUPC_WUMR_LPDBC_DISABLE   (0x0u << 16)
 (SUPC_WUMR) Disable the low-power debouncers. More...
 
#define SUPC_WUMR_LPDBC_Msk   (0x7u << SUPC_WUMR_LPDBC_Pos)
 (SUPC_WUMR) Low-power Debouncer Period More...
 
#define SUPC_WUMR_LPDBC_Pos   16
 
#define SUPC_WUMR_LPDBCCLR   (0x1u << 7)
 (SUPC_WUMR) Low-power Debouncer Clear More...
 
#define SUPC_WUMR_LPDBCCLR_ENABLE   (0x1u << 7)
 (SUPC_WUMR) A low-power debounce event on WKUP0 or WKUP1 generates an immediate clear on the first half of GPBR registers. More...
 
#define SUPC_WUMR_LPDBCCLR_NOT_ENABLE   (0x0u << 7)
 (SUPC_WUMR) A low-power debounce event does not create an immediate clear on the first half of GPBR registers. More...
 
#define SUPC_WUMR_LPDBCEN0   (0x1u << 5)
 (SUPC_WUMR) Low-power Debouncer Enable WKUP0 More...
 
#define SUPC_WUMR_LPDBCEN0_ENABLE   (0x1u << 5)
 (SUPC_WUMR) The WKUP0 input pin is connected to the low-power debouncer and forces a system wake-up. More...
 
#define SUPC_WUMR_LPDBCEN0_NOT_ENABLE   (0x0u << 5)
 (SUPC_WUMR) The WKUP0 input pin is not connected to the low-power debouncer. More...
 
#define SUPC_WUMR_LPDBCEN1   (0x1u << 6)
 (SUPC_WUMR) Low-power Debouncer Enable WKUP1 More...
 
#define SUPC_WUMR_LPDBCEN1_ENABLE   (0x1u << 6)
 (SUPC_WUMR) The WKUP1 input pin is connected to the low-power debouncer and forces a system wake-up. More...
 
#define SUPC_WUMR_LPDBCEN1_NOT_ENABLE   (0x0u << 6)
 (SUPC_WUMR) The WKUP1 input pin is not connected to the low-power debouncer. More...
 
#define SUPC_WUMR_RTCEN   (0x1u << 3)
 (SUPC_WUMR) Real-time Clock Wake-up Enable More...
 
#define SUPC_WUMR_RTCEN_ENABLE   (0x1u << 3)
 (SUPC_WUMR) The RTC alarm signal forces the wake-up of the core power supply. More...
 
#define SUPC_WUMR_RTCEN_NOT_ENABLE   (0x0u << 3)
 (SUPC_WUMR) The RTC alarm signal has no wake-up effect. More...
 
#define SUPC_WUMR_RTTEN   (0x1u << 2)
 (SUPC_WUMR) Real-time Timer Wake-up Enable More...
 
#define SUPC_WUMR_RTTEN_ENABLE   (0x1u << 2)
 (SUPC_WUMR) The RTT alarm signal forces the wake-up of the core power supply. More...
 
#define SUPC_WUMR_RTTEN_NOT_ENABLE   (0x0u << 2)
 (SUPC_WUMR) The RTT alarm signal has no wake-up effect. More...
 
#define SUPC_WUMR_SMEN   (0x1u << 1)
 (SUPC_WUMR) Supply Monitor Wake-up Enable More...
 
#define SUPC_WUMR_SMEN_ENABLE   (0x1u << 1)
 (SUPC_WUMR) The supply monitor detection forces the wake-up of the core power supply. More...
 
#define SUPC_WUMR_SMEN_NOT_ENABLE   (0x0u << 1)
 (SUPC_WUMR) The supply monitor detection has no wake-up effect. More...
 
#define SUPC_WUMR_WKUPDBC(value)   ((SUPC_WUMR_WKUPDBC_Msk & ((value) << SUPC_WUMR_WKUPDBC_Pos)))
 
#define SUPC_WUMR_WKUPDBC_32768_SLCK   (0x5u << 12)
 (SUPC_WUMR) WKUPx shall be in its active state for at least 32,768 SLCK periods More...
 
#define SUPC_WUMR_WKUPDBC_32_SLCK   (0x2u << 12)
 (SUPC_WUMR) WKUPx shall be in its active state for at least 32 SLCK periods More...
 
#define SUPC_WUMR_WKUPDBC_3_SLCK   (0x1u << 12)
 (SUPC_WUMR) WKUPx shall be in its active state for at least 3 SLCK periods More...
 
#define SUPC_WUMR_WKUPDBC_4096_SLCK   (0x4u << 12)
 (SUPC_WUMR) WKUPx shall be in its active state for at least 4,096 SLCK periods More...
 
#define SUPC_WUMR_WKUPDBC_512_SLCK   (0x3u << 12)
 (SUPC_WUMR) WKUPx shall be in its active state for at least 512 SLCK periods More...
 
#define SUPC_WUMR_WKUPDBC_IMMEDIATE   (0x0u << 12)
 (SUPC_WUMR) Immediate, no debouncing, detected active at least on one Slow Clock edge. More...
 
#define SUPC_WUMR_WKUPDBC_Msk   (0x7u << SUPC_WUMR_WKUPDBC_Pos)
 (SUPC_WUMR) Wake-up Inputs Debouncer Period More...
 
#define SUPC_WUMR_WKUPDBC_Pos   12
 
#define SYSC_VERSION_MFN_Msk   (0x7u << SYSC_VERSION_MFN_Pos)
 (SYSC_VERSION) Metal Fix Number More...
 
#define SYSC_VERSION_MFN_Pos   16
 
#define SYSC_VERSION_VERSION_Msk   (0xfffu << SYSC_VERSION_VERSION_Pos)
 (SYSC_VERSION) Version of the Hardware Module More...
 
#define SYSC_VERSION_VERSION_Pos   0
 

Detailed Description

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file component/supc.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07