 |
TLE986x Device Family SDK
|
Go to the documentation of this file.
101 #define PMU_RESET_STS_POR (0x80u)
103 #define PMU_RESET_STS_PIN (0x40u)
105 #define PMU_RESET_STS_WDT1 (0x20u)
107 #define PMU_RESET_STS_ClkWDT (0x10u)
109 #define PMU_RESET_STS_LPR (0x08u)
111 #define PMU_RESET_STS_SLEEP (0x04u)
113 #define PMU_RESET_STS_WAKE (0x02u)
115 #define PMU_RESET_STS_SYS_FAIL (0x01u)
118 #define PMU_VDDEXT_STABLE (0x80u)
120 #define PMU_VDDEXT_OK (0x40u)
122 #define PMU_VDDEXT_OVERLOAD (0x20u)
124 #define PMU_VDDEXT_OVERVOLT (0x10u)
126 #define PMU_VDDEXT_SHORT (0x08u)
128 #define PMU_VDDEXT_IE (0x04u)
130 #define PMU_VDDEXT_CYC_EN (0x02u)
132 #define PMU_VDDEXT_ENABLE (0x01u)
#define PMU_VDDEXT_CTRL_STABLE_Msk
Definition: tle986x.h:8225
#define PMU_PMU_SUPPLY_STS_PMU_5V_FAIL_EN_Pos
Definition: tle986x.h:8195
INLINE void PMU_Clear_Reset_Status(void)
Clears the Reset Status Hard Register (PMU->PMU_RESET_STS1)
Definition: pmu.h:336
INLINE void PMU_VDDC_Int_En(void)
enables VDDC status information as interrupt source.
Definition: pmu.h:191
General type declarations.
INLINE void PMU_VDDEXT_Short_Clr(void)
Clear VDDEXT Short Error Flag.
Definition: pmu.h:376
INLINE void PMU_VDDP_Int_Dis(void)
disables VDDP status information as interrupt source.
Definition: pmu.h:256
SFR low level access library.
INLINE void Field_Wrt8all(volatile uint8 *reg, uint8 val)
This function writes an 8-bit register directly, no mask/position needed.
Definition: sfr_access.h:326
#define INLINE
Definition: types.h:134
bool PMU_VDDEXT_On(void)
Turns VDDEXT on.
INLINE void Field_Mod8(volatile uint8 *reg, uint8 pos, uint8 msk, uint8 val)
This function writes a bit field in a 8-bit register.
Definition: sfr_access.h:346
INLINE uint8 u1_Field_Rd8(const volatile uint8 *reg, uint8 pos, uint8 msk)
This function reads a 1-bit field of a 8-bit register.
Definition: sfr_access.h:391
#define PMU_PMU_SUPPLY_STS_PMU_1V5_FAIL_EN_Msk
Definition: tle986x.h:8202
unsigned char uint8
8 bit unsigned value
Definition: types.h:139
#define PMU_VDDEXT_CTRL_STABLE_Pos
Definition: tle986x.h:8224
INLINE void PMU_VDDEXT_Int_En(void)
enables VDDEXT Supply status information as interrupt source (enable Fail Interrupt).
Definition: pmu.h:148
#define PMU
Definition: tle986x.h:6002
INLINE uint8 u8_Field_Rd8(const volatile uint8 *reg, uint8 pos, uint8 msk)
This function reads a 8-bit field of a 8-bit register.
Definition: sfr_access.h:406
#define PMU_VDDEXT_CTRL_FAIL_EN_Msk
Definition: tle986x.h:8235
#define PMU_VDDEXT_CTRL_FAIL_EN_Pos
Definition: tle986x.h:8234
INLINE void PMU_VDDEXT_Set(uint8 FlagMask)
Set the given bits in the PMU->VDDEXT_CTRL register.
Definition: pmu.h:395
#define PMU_PMU_SUPPLY_STS_PMU_1V5_FAIL_EN_Pos
Definition: tle986x.h:8201
INLINE uint8 PMU_VDDEXT_Off(void)
Switches off (disables) VDDEXT and returns the stable state of VDDEXT (VDDEXT Supply works inside its...
Definition: pmu.h:358
CMSIS register HeaderFile.
INLINE void PMU_VDDP_Int_En(void)
enables VDDP status information as interrupt source.
Definition: pmu.h:234
#define PMU_PMU_SUPPLY_STS_PMU_5V_FAIL_EN_Msk
Definition: tle986x.h:8196
#define PMU_VDDEXT_CTRL_ENABLE_Pos
Definition: tle986x.h:8238
void PMU_Init(void)
Initializes the PMU module.
INLINE void PMU_VDDC_Int_Dis(void)
disables VDDC status information as interrupt source.
Definition: pmu.h:213
INLINE uint8 PMU_Get_Reset_Status(void)
Reads out the Reset Status Hard Register (PMU->PMU_RESET_STS1)
Definition: pmu.h:316
#define PMU_VDDEXT_CTRL_ENABLE_Msk
Definition: tle986x.h:8239
INLINE void PMU_VDDEXT_Int_Dis(void)
disables VDDEXT Supply status information as interrupt source (disable Fail Interrupt).
Definition: pmu.h:170
INLINE void Field_Clr8(volatile uint8 *reg, uint8 msk)
This function clears a bit field in a 8-bit register.
Definition: sfr_access.h:376