Infineon MOTIX™ MCU TLE985x Device Family SDK
Macros | Functions
pmu.h File Reference

Go to the source code of this file.

Detailed Description

Power Management Unit low level access library.

Version
V0.2.4
Date
28. Aug 2023
Note
This file violates [MISRA 2012 Rule 11.1, required], [MISRA 2012 Rule 11.4, advisory], [MISRA 2012 Rule 11.6, required], [MISRA 2012 Rule 2.5, advisory]

Include Graph

Include dependency graph for pmu.h:

Macros

#define PMU_RESET_STS_LOCKUP   (0x0400u)
 PMU Reset Status Flag Mask, Lockup-Reset Flag. More...
 
#define PMU_RESET_STS_PMU_SOFT   (0x0200u)
 PMU Reset Status Flag Mask, Soft-Reset Flag. More...
 
#define PMU_RESET_STS_IntWDT   (0x0100u)
 PMU Reset Status Flag Mask, Internal Watchdog Reset Flag. More...
 
#define PMU_RESET_STS_POR   (0x0080u)
 PMU Reset Status Flag Mask, Power-On Reset Flag. More...
 
#define PMU_RESET_STS_PIN   (0x0040u)
 PMU Reset Status Flag Mask, PIN-Reset Flag. More...
 
#define PMU_RESET_STS_WDT1   (0x0020u)
 PMU Reset Status Flag Mask, External Watchdog (WDT1) Reset Flag. More...
 
#define PMU_RESET_STS_ClkWDT   (0x0010u)
 PMU Reset Status Flag Mask, Clock Watchdog (CLKWDT) Reset Flag. More...
 
#define PMU_RESET_STS_LPR   (0x0008u)
 PMU Reset Status Flag Mask, Low Priority Resets. More...
 
#define PMU_RESET_STS_SLEEP   (0x0004u)
 PMU Reset Status Flag Mask, Flag which indicates a reset caused by Sleep-Exit. More...
 
#define PMU_RESET_STS_WAKE   (0x0002u)
 PMU Reset Status Flag Mask, Flag which indicates a reset caused by Stop-Exit. More...
 
#define PMU_RESET_STS_SYS_FAIL   (0x0001u)
 PMU Reset Status Flag Mask, Flag which indicates a reset caused by a System Fail reported in the corresponding Fail Register. More...
 
#define PMU_VDDEXT_OT_SC   (0x2000u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Status clear. More...
 
#define PMU_VDDEXT_UV_ISC   (0x1000u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Undervoltage Interrupt Status clear. More...
 
#define PMU_VDDEXT_OT_ISC   (0x0800u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Interrupt Status clear. More...
 
#define PMU_VDDEXT_STABLE   (0x0080u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Stable. More...
 
#define PMU_VDDEXT_OVERTEMP   (0x0040u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature. More...
 
#define PMU_VDDEXT_OVERTEMPST   (0x0020u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Status. More...
 
#define PMU_VDDEXT_UNDERVOLT   (0x0010u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Undervoltage Interrupt Status. More...
 
#define PMU_VDDEXT_OVERTEMPIN   (0x0008u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply OverTemperature Interrupt Status. More...
 
#define PMU_VDDEXT_IE   (0x0004u)
 PMU VDDEXT Status Flag Mask, Enabling of VDDEXT Supply status information as interrupt source. More...
 
#define PMU_VDDEXT_CYC_EN   (0x0002u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply for Cyclic Sense Enable. More...
 
#define PMU_VDDEXT_ENABLE   (0x0001u)
 PMU VDDEXT Status Flag Mask, VDDEXT Supply Enable. More...
 
#define PMU_RESET_MASK   (0x7FFu)
 PMU Reset Status Flag Mask. More...
 

Functions

void PMU_Init (void)
 Initializes the PMU module. More...
 
bool PMU_VDDEXT_On (void)
 Turns VDDEXT on. More...
 
INLINE void PMU_VDDEXT_Int_En (void)
 Enables of VDDEXT Supply status information as interrupt source. More...
 
INLINE void PMU_VDDEXT_Int_Dis (void)
 Disables of VDDEXT Supply status information as interrupt source. More...
 
INLINE void PMU_VDDC_Int_En (void)
 Enables of VDDC status information as interrupt source. More...
 
INLINE void PMU_VDDC_Int_Dis (void)
 Disables of VDDC status information as interrupt source. More...
 
INLINE void PMU_VDDP_Int_En (void)
 Enables of VDDP status information as interrupt source. More...
 
INLINE void PMU_VDDP_Int_Dis (void)
 Disables of VDDP status information as interrupt source. More...
 
INLINE void PMU_OT_Int_En (void)
 Enables PMU Overtemperature Interrupt. More...
 
INLINE void PMU_OT_Int_Dis (void)
 Disables PMU Overtemperature Interrupt. More...
 
INLINE void PMU_VDDEXT_OT_Int_Clr (void)
 Clears VDDEXT Supply OverTemperature interrupt flag. More...
 
INLINE void PMU_VDDEXT_UV_Int_Clr (void)
 Clears VDDEXT Supply Undervoltage interrupt flag. More...
 
INLINE void PMU_VDDEXT_OT_Clr (void)
 Clears VDDEXT Supply Overvoltage Status. More...
 
INLINE void PMU_VDDC_OV_Clr (void)
 Clears Overvoltage at VDDC regulator flag. More...
 
INLINE void PMU_VDDC_OL_Clr (void)
 Clears Overload at VDDC regulator flag. More...
 
INLINE void PMU_VDDP_OV_Clr (void)
 Clears Overvoltage at VDDP regulator flag. More...
 
INLINE void PMU_VDDP_OL_Clr (void)
 Clears Overload at VDDP regulator flag. More...
 
INLINE void PMU_PMU_OT_Clr (void)
 Clears Overtemperature Status flag. More...
 
INLINE void WAKEUP_Int_En (void)
 Enables Wakeup Interrupt. More...
 
INLINE void WAKEUP_Int_Dis (void)
 Disables Wakeup Interrupt. More...
 
INLINE void WAKEUP_Int_Clr (void)
 Clears Wakeup Interrupt flag. More...
 
INLINE void PCU_CLK_Loss_Rst_En (void)
 Enables Loss of Clock Reset. More...
 
INLINE void PCU_CLK_Loss_Rst_Dis (void)
 Disables Loss of Clock Reset. More...
 
INLINE void PCU_CLKWDT_Rst_En (void)
 Enables Clock Watchdog Reset. More...
 
INLINE void PCU_CLKWDT_Rst_Dis (void)
 Disables Clock Watchdog Reset. More...
 
INLINE void PCU_CLK_Loss_SD_En (void)
 Enables System Loss of Clock Shutdown. More...
 
INLINE void PCU_CLK_Loss_SD_Dis (void)
 Disables System Loss of Clock Shutdown. More...
 
INLINE void PCU_SYS_OTWARN_PS_En (void)
 Enables System Overtemperature Warning Power Switches Shutdown. More...
 
INLINE void PCU_SYS_OTWARN_PS_Dis (void)
 Disables System Overtemperature Warning Power Switches Shutdown. More...
 
INLINE void PCU_SYS_VS_OV_SLM_En (void)
 Enables VS Overvoltage Shutdown for peripherals. More...
 
INLINE void PCU_SYS_VS_OV_SLM_Dis (void)
 Disables VS Overvoltage Shutdown for peripherals. More...
 
INLINE void PCU_SYS_VS_UV_SLM_En (void)
 Enables VS Undervoltage Shutdown for peripherals. More...
 
INLINE void PCU_SYS_VS_UV_SLM_Dis (void)
 Disables VS Undervoltage Shutdown for peripherals. More...
 
INLINE void PCU_LIN_VS_UV_SD_En (void)
 Enables LIN Module VS Undervoltage Transmitter Shutdown. More...
 
INLINE void PCU_LIN_VS_UV_SD_Dis (void)
 Disables LIN Module VS Undervoltage Transmitter Shutdown. More...
 
INLINE void PCU_FAIL_PS_En (void)
 Enables LIN Tx and HS Switch off. More...
 
INLINE void PCU_FAIL_PS_Dis (void)
 Disables LIN Tx and HS Switch off. More...
 
INLINE void PCU_CLKWDT_SD_En (void)
 Enables Power Modules Clock Watchdog Shutdown. More...
 
INLINE void PCU_CLKWDT_SD_Dis (void)
 Disables Power Modules Clock Watchdog Shutdown. More...
 
INLINE uint16 PMU_Get_Reset_Status (void)
 Reads out the Reset Status register. More...
 
INLINE void PMU_Clear_Reset_Status (void)
 Clears the Reset Status register. More...
 
INLINE uint8 PMU_VDDEXT_Off (void)
 Switches VDDEXT off and reads the stability Status of VDDEXT. More...
 
INLINE void PMU_VDDEXT_Error_Clear (uint16 ErrorFlagMask)
 Clears VDDEXT Error Flags. More...
 
INLINE void PMU_VDDEXT_Set (uint16 FlagMask)
 Sets the given bits in the PMU->VDDEXT_CTRL register. More...
 

Macro Definition Documentation

◆ PMU_RESET_MASK

#define PMU_RESET_MASK   (0x7FFu)

PMU Reset Status Flag Mask.

◆ PMU_RESET_STS_ClkWDT

#define PMU_RESET_STS_ClkWDT   (0x0010u)

PMU Reset Status Flag Mask, Clock Watchdog (CLKWDT) Reset Flag.

◆ PMU_RESET_STS_IntWDT

#define PMU_RESET_STS_IntWDT   (0x0100u)

PMU Reset Status Flag Mask, Internal Watchdog Reset Flag.

◆ PMU_RESET_STS_LOCKUP

#define PMU_RESET_STS_LOCKUP   (0x0400u)

PMU Reset Status Flag Mask, Lockup-Reset Flag.

◆ PMU_RESET_STS_LPR

#define PMU_RESET_STS_LPR   (0x0008u)

PMU Reset Status Flag Mask, Low Priority Resets.

◆ PMU_RESET_STS_PIN

#define PMU_RESET_STS_PIN   (0x0040u)

PMU Reset Status Flag Mask, PIN-Reset Flag.

◆ PMU_RESET_STS_PMU_SOFT

#define PMU_RESET_STS_PMU_SOFT   (0x0200u)

PMU Reset Status Flag Mask, Soft-Reset Flag.

◆ PMU_RESET_STS_POR

#define PMU_RESET_STS_POR   (0x0080u)

PMU Reset Status Flag Mask, Power-On Reset Flag.

◆ PMU_RESET_STS_SLEEP

#define PMU_RESET_STS_SLEEP   (0x0004u)

PMU Reset Status Flag Mask, Flag which indicates a reset caused by Sleep-Exit.

◆ PMU_RESET_STS_SYS_FAIL

#define PMU_RESET_STS_SYS_FAIL   (0x0001u)

PMU Reset Status Flag Mask, Flag which indicates a reset caused by a System Fail reported in the corresponding Fail Register.

◆ PMU_RESET_STS_WAKE

#define PMU_RESET_STS_WAKE   (0x0002u)

PMU Reset Status Flag Mask, Flag which indicates a reset caused by Stop-Exit.

◆ PMU_RESET_STS_WDT1

#define PMU_RESET_STS_WDT1   (0x0020u)

PMU Reset Status Flag Mask, External Watchdog (WDT1) Reset Flag.

◆ PMU_VDDEXT_CYC_EN

#define PMU_VDDEXT_CYC_EN   (0x0002u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply for Cyclic Sense Enable.

◆ PMU_VDDEXT_ENABLE

#define PMU_VDDEXT_ENABLE   (0x0001u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Enable.

◆ PMU_VDDEXT_IE

#define PMU_VDDEXT_IE   (0x0004u)

PMU VDDEXT Status Flag Mask, Enabling of VDDEXT Supply status information as interrupt source.

◆ PMU_VDDEXT_OT_ISC

#define PMU_VDDEXT_OT_ISC   (0x0800u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Interrupt Status clear.

◆ PMU_VDDEXT_OT_SC

#define PMU_VDDEXT_OT_SC   (0x2000u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Status clear.

◆ PMU_VDDEXT_OVERTEMP

#define PMU_VDDEXT_OVERTEMP   (0x0040u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature.

◆ PMU_VDDEXT_OVERTEMPIN

#define PMU_VDDEXT_OVERTEMPIN   (0x0008u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply OverTemperature Interrupt Status.

◆ PMU_VDDEXT_OVERTEMPST

#define PMU_VDDEXT_OVERTEMPST   (0x0020u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Overtemperature Status.

◆ PMU_VDDEXT_STABLE

#define PMU_VDDEXT_STABLE   (0x0080u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Stable.

◆ PMU_VDDEXT_UNDERVOLT

#define PMU_VDDEXT_UNDERVOLT   (0x0010u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Undervoltage Interrupt Status.

◆ PMU_VDDEXT_UV_ISC

#define PMU_VDDEXT_UV_ISC   (0x1000u)

PMU VDDEXT Status Flag Mask, VDDEXT Supply Undervoltage Interrupt Status clear.

Function Documentation

◆ PCU_CLK_Loss_Rst_Dis()

INLINE void PCU_CLK_Loss_Rst_Dis ( void  )

Disables Loss of Clock Reset.

Example

This example disables Loss of Clock Reset.

void Example_Function(void)
{
}
INLINE void PCU_CLK_Loss_Rst_Dis(void)
Disables Loss of Clock Reset.
Definition: pmu.h:959

◆ PCU_CLK_Loss_Rst_En()

INLINE void PCU_CLK_Loss_Rst_En ( void  )

Enables Loss of Clock Reset.

Example

This example enables Loss of Clock Reset.

void Example_Function(void)
{
}
INLINE void PCU_CLK_Loss_Rst_En(void)
Enables Loss of Clock Reset.
Definition: pmu.h:954

◆ PCU_CLK_Loss_SD_Dis()

INLINE void PCU_CLK_Loss_SD_Dis ( void  )

Disables System Loss of Clock Shutdown.

Example

This example disables System Loss of Clock Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_CLK_Loss_SD_Dis(void)
Disables System Loss of Clock Shutdown.
Definition: pmu.h:979

◆ PCU_CLK_Loss_SD_En()

INLINE void PCU_CLK_Loss_SD_En ( void  )

Enables System Loss of Clock Shutdown.

Example

This example enables System Loss of Clock Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_CLK_Loss_SD_En(void)
Enables System Loss of Clock Shutdown.
Definition: pmu.h:974

◆ PCU_CLKWDT_Rst_Dis()

INLINE void PCU_CLKWDT_Rst_Dis ( void  )

Disables Clock Watchdog Reset.

Example

This example disables Clock Watchdog Reset.

void Example_Function(void)
{
}
INLINE void PCU_CLKWDT_Rst_Dis(void)
Disables Clock Watchdog Reset.
Definition: pmu.h:969

◆ PCU_CLKWDT_Rst_En()

INLINE void PCU_CLKWDT_Rst_En ( void  )

Enables Clock Watchdog Reset.

Example

This example enables Clock Watchdog Reset.

void Example_Function(void)
{
}
INLINE void PCU_CLKWDT_Rst_En(void)
Enables Clock Watchdog Reset.
Definition: pmu.h:964

◆ PCU_CLKWDT_SD_Dis()

INLINE void PCU_CLKWDT_SD_Dis ( void  )

Disables Power Modules Clock Watchdog Shutdown.

Example

This example disables Power Modules Clock Watchdog Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_CLKWDT_SD_Dis(void)
Disables Power Modules Clock Watchdog Shutdown.
Definition: pmu.h:1039

◆ PCU_CLKWDT_SD_En()

INLINE void PCU_CLKWDT_SD_En ( void  )

Enables Power Modules Clock Watchdog Shutdown.

Example

This example enables Power Modules Clock Watchdog Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_CLKWDT_SD_En(void)
Enables Power Modules Clock Watchdog Shutdown.
Definition: pmu.h:1034

◆ PCU_FAIL_PS_Dis()

INLINE void PCU_FAIL_PS_Dis ( void  )

Disables LIN Tx and HS Switch off.

Example

This example disables LIN Tx and HS Switch off.

void Example_Function(void)
{
}
INLINE void PCU_FAIL_PS_Dis(void)
Disables LIN Tx and HS Switch off.
Definition: pmu.h:1029

◆ PCU_FAIL_PS_En()

INLINE void PCU_FAIL_PS_En ( void  )

Enables LIN Tx and HS Switch off.

Example

This example enables LIN Tx and HS Switch off.

void Example_Function(void)
{
}
INLINE void PCU_FAIL_PS_En(void)
Enables LIN Tx and HS Switch off.
Definition: pmu.h:1024

◆ PCU_LIN_VS_UV_SD_Dis()

INLINE void PCU_LIN_VS_UV_SD_Dis ( void  )

Disables LIN Module VS Undervoltage Transmitter Shutdown.

Example

This example disables LIN Module VS Undervoltage Transmitter Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_LIN_VS_UV_SD_Dis(void)
Disables LIN Module VS Undervoltage Transmitter Shutdown.
Definition: pmu.h:1019

◆ PCU_LIN_VS_UV_SD_En()

INLINE void PCU_LIN_VS_UV_SD_En ( void  )

Enables LIN Module VS Undervoltage Transmitter Shutdown.

Example

This example enables LIN Module VS Undervoltage Transmitter Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_LIN_VS_UV_SD_En(void)
Enables LIN Module VS Undervoltage Transmitter Shutdown.
Definition: pmu.h:1014

◆ PCU_SYS_OTWARN_PS_Dis()

INLINE void PCU_SYS_OTWARN_PS_Dis ( void  )

Disables System Overtemperature Warning Power Switches Shutdown.

Example

This example disables System Overtemperature Warning Power Switches Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_SYS_OTWARN_PS_Dis(void)
Disables System Overtemperature Warning Power Switches Shutdown.
Definition: pmu.h:989

◆ PCU_SYS_OTWARN_PS_En()

INLINE void PCU_SYS_OTWARN_PS_En ( void  )

Enables System Overtemperature Warning Power Switches Shutdown.

Example

This example enables System Overtemperature Warning Power Switches Shutdown.

void Example_Function(void)
{
}
INLINE void PCU_SYS_OTWARN_PS_En(void)
Enables System Overtemperature Warning Power Switches Shutdown.
Definition: pmu.h:984

◆ PCU_SYS_VS_OV_SLM_Dis()

INLINE void PCU_SYS_VS_OV_SLM_Dis ( void  )

Disables VS Overvoltage Shutdown for peripherals.

Example

This example disables VS Overvoltage Shutdown for peripherals.

void Example_Function(void)
{
}
INLINE void PCU_SYS_VS_OV_SLM_Dis(void)
Disables VS Overvoltage Shutdown for peripherals.
Definition: pmu.h:999

◆ PCU_SYS_VS_OV_SLM_En()

INLINE void PCU_SYS_VS_OV_SLM_En ( void  )

Enables VS Overvoltage Shutdown for peripherals.

Example

This example enables VS Overvoltage Shutdown for peripherals.

void Example_Function(void)
{
}
INLINE void PCU_SYS_VS_OV_SLM_En(void)
Enables VS Overvoltage Shutdown for peripherals.
Definition: pmu.h:994

◆ PCU_SYS_VS_UV_SLM_Dis()

INLINE void PCU_SYS_VS_UV_SLM_Dis ( void  )

Disables VS Undervoltage Shutdown for peripherals.

Example

This example disables VS Undervoltage Shutdown for peripherals.

void Example_Function(void)
{
}
INLINE void PCU_SYS_VS_UV_SLM_Dis(void)
Disables VS Undervoltage Shutdown for peripherals.
Definition: pmu.h:1009

◆ PCU_SYS_VS_UV_SLM_En()

INLINE void PCU_SYS_VS_UV_SLM_En ( void  )

Enables VS Undervoltage Shutdown for peripherals.

Example

This example enables VS Undervoltage Shutdown for peripherals.

void Example_Function(void)
{
}
INLINE void PCU_SYS_VS_UV_SLM_En(void)
Enables VS Undervoltage Shutdown for peripherals.
Definition: pmu.h:1004

◆ PMU_Clear_Reset_Status()

INLINE void PMU_Clear_Reset_Status ( void  )

Clears the Reset Status register.

Example

This example checks and clears Reset Status.

void Example_Function(void)
{
{
}
}
INLINE uint16 PMU_Get_Reset_Status(void)
Reads out the Reset Status register.
Definition: pmu.h:1044
INLINE void PMU_Clear_Reset_Status(void)
Clears the Reset Status register.
Definition: pmu.h:1049
uint16_t uint16
16 bit unsigned value
Definition: types.h:154

◆ PMU_Get_Reset_Status()

INLINE uint16 PMU_Get_Reset_Status ( void  )

Reads out the Reset Status register.

Returns
combination of reset status bits

Example

This example checks and clears Reset Status.

void Example_Function(void)
{
{
}
}

◆ PMU_Init()

void PMU_Init ( void  )

Initializes the PMU module.

◆ PMU_OT_Int_Dis()

INLINE void PMU_OT_Int_Dis ( void  )

Disables PMU Overtemperature Interrupt.

Example

This example treats the PMU Overtemperature Interrupt

void Example_Function(void)
{
{
PMU_PMU_OT_CALLBACK();
}
}
#define PMU
Definition: tle985x.h:6275
#define PMU_SUPPLY_STS_PMU_OVERTEMP_Msk
Definition: tle985x.h:9396
#define PMU_SUPPLY_STS_PMU_OVERTEMP_Pos
Definition: tle985x.h:9395
INLINE void PMU_OT_Int_Dis(void)
Disables PMU Overtemperature Interrupt.
Definition: pmu.h:894
INLINE void PMU_OT_Int_En(void)
Enables PMU Overtemperature Interrupt.
Definition: pmu.h:889
INLINE uint8 u1_Field_Rd32(const volatile uint32 *reg, uint8 pos, uint32 msk)
This function reads a 1-bit field of a 32-bit register.
Definition: sfr_access.h:423
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ PMU_OT_Int_En()

INLINE void PMU_OT_Int_En ( void  )

Enables PMU Overtemperature Interrupt.

Example

This example treats the PMU Overtemperature Interrupt

void Example_Function(void)
{
{
PMU_PMU_OT_CALLBACK();
}
}

◆ PMU_PMU_OT_Clr()

INLINE void PMU_PMU_OT_Clr ( void  )

Clears Overtemperature Status flag.

Example

This example treats the PMU Overtemperature interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_OVERTEMP == (uint8)1)
{
PMU_PMU_OT_CALLBACK();
}
}
INLINE void PMU_PMU_OT_Clr(void)
Clears Overtemperature Status flag.
Definition: pmu.h:934

◆ PMU_VDDC_Int_Dis()

INLINE void PMU_VDDC_Int_Dis ( void  )

Disables of VDDC status information as interrupt source.

Example

This example treats the Overvoltage at VDDC regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_1V5_OVERVOLT == (uint8)1)
{
PMU_VDDC_OV_CALLBACK();
}
}
INLINE void PMU_VDDC_Int_Dis(void)
Disables of VDDC status information as interrupt source.
Definition: pmu.h:874
INLINE void PMU_VDDC_OV_Clr(void)
Clears Overvoltage at VDDC regulator flag.
Definition: pmu.h:914
INLINE void PMU_VDDC_Int_En(void)
Enables of VDDC status information as interrupt source.
Definition: pmu.h:869

◆ PMU_VDDC_Int_En()

INLINE void PMU_VDDC_Int_En ( void  )

Enables of VDDC status information as interrupt source.

Example

This example treats the Overvoltage at VDDC regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_1V5_OVERVOLT == (uint8)1)
{
PMU_VDDC_OV_CALLBACK();
}
}

◆ PMU_VDDC_OL_Clr()

INLINE void PMU_VDDC_OL_Clr ( void  )

Clears Overload at VDDC regulator flag.

Example

This example treats the Overload at VDDC regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_1V5_OVERLOAD == (uint8)1)
{
PMU_VDDC_OL_CALLBACK();
}
}
INLINE void PMU_VDDC_OL_Clr(void)
Clears Overload at VDDC regulator flag.
Definition: pmu.h:919

◆ PMU_VDDC_OV_Clr()

INLINE void PMU_VDDC_OV_Clr ( void  )

Clears Overvoltage at VDDC regulator flag.

Example

This example treats the Overvoltage at VDDC regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_1V5_OVERVOLT == (uint8)1)
{
PMU_VDDC_OV_CALLBACK();
}
}

◆ PMU_VDDEXT_Error_Clear()

INLINE void PMU_VDDEXT_Error_Clear ( uint16  ErrorFlagMask)

Clears VDDEXT Error Flags.

Parameters
ErrorFlagMaskVDDEXT Error Flags Mask

Example

This example clears VDDEXT Supply Undervoltage Interrupt flag.

void Example_Function(void)
{
}
#define PMU_VDDEXT_UV_ISC
PMU VDDEXT Status Flag Mask, VDDEXT Supply Undervoltage Interrupt Status clear.
Definition: pmu.h:104
INLINE void PMU_VDDEXT_Error_Clear(uint16 ErrorFlagMask)
Clears VDDEXT Error Flags.
Definition: pmu.h:1061

◆ PMU_VDDEXT_Int_Dis()

INLINE void PMU_VDDEXT_Int_Dis ( void  )

Disables of VDDEXT Supply status information as interrupt source.

Example

This example treats the VDDEXT Supply OverTemperature interrupt.

void Example_Function(void)
{
if ((uint8)PMU->VDDEXT_CTRL.bit.VDDEXT_OT_IS == (uint8)1)
{
PMU_VDDEXT_OT_CALLBACK();
}
}
INLINE void PMU_VDDEXT_Int_Dis(void)
Disables of VDDEXT Supply status information as interrupt source.
Definition: pmu.h:864
INLINE void PMU_VDDEXT_Int_En(void)
Enables of VDDEXT Supply status information as interrupt source.
Definition: pmu.h:859
INLINE void PMU_VDDEXT_OT_Int_Clr(void)
Clears VDDEXT Supply OverTemperature interrupt flag.
Definition: pmu.h:899

◆ PMU_VDDEXT_Int_En()

INLINE void PMU_VDDEXT_Int_En ( void  )

Enables of VDDEXT Supply status information as interrupt source.

Example

This example treats the VDDEXT Supply OverTemperature interrupt.

void Example_Function(void)
{
if ((uint8)PMU->VDDEXT_CTRL.bit.VDDEXT_OT_IS == (uint8)1)
{
PMU_VDDEXT_OT_CALLBACK();
}
}

◆ PMU_VDDEXT_Off()

INLINE uint8 PMU_VDDEXT_Off ( void  )

Switches VDDEXT off and reads the stability Status of VDDEXT.

Return values
0VDDEXT not in stable condition
1VDDEXT in stable condition

Example

This example switches VDDEXT off and waits until VDDEXT is in stable condition.

void Example_Function(void)
{
while (PMU_VDDEXT_Off() == (uint8)0)
{
}
}
INLINE uint8 PMU_VDDEXT_Off(void)
Switches VDDEXT off and reads the stability Status of VDDEXT.
Definition: pmu.h:1054

◆ PMU_VDDEXT_On()

bool PMU_VDDEXT_On ( void  )

Turns VDDEXT on.

Return values
TRUEVDDEXT was turned on
FALSEVDDEXT is off, was not turned on

Example

This example switches VDDEXT on and waits until VDDEXT is in stable condition.

void Example_Function(void)
{
while (PMU_VDDEXT_On() == false)
{
}
}
bool PMU_VDDEXT_On(void)
Turns VDDEXT on.

◆ PMU_VDDEXT_OT_Clr()

INLINE void PMU_VDDEXT_OT_Clr ( void  )

Clears VDDEXT Supply Overvoltage Status.

Example

This example clears the VDDEXT Supply Overvoltage Status.

void Example_Function(void)
{
}
INLINE void PMU_VDDEXT_OT_Clr(void)
Clears VDDEXT Supply Overvoltage Status.
Definition: pmu.h:909

◆ PMU_VDDEXT_OT_Int_Clr()

INLINE void PMU_VDDEXT_OT_Int_Clr ( void  )

Clears VDDEXT Supply OverTemperature interrupt flag.

Example

This example treats the VDDEXT Supply OverTemperature interrupt.

void Example_Function(void)
{
if ((uint8)PMU->VDDEXT_CTRL.bit.VDDEXT_OT_IS == (uint8)1)
{
PMU_VDDEXT_OT_CALLBACK();
}
}

◆ PMU_VDDEXT_Set()

INLINE void PMU_VDDEXT_Set ( uint16  FlagMask)

Sets the given bits in the PMU->VDDEXT_CTRL register.

Parameters
FlagMaskVDDEXT Flags Mask

Example

This example enables VVDDEXT Supply status information as interrupt source.

void Example_Function(void)
{
}
#define PMU_VDDEXT_ENABLE
PMU VDDEXT Status Flag Mask, VDDEXT Supply Enable.
Definition: pmu.h:122
INLINE void PMU_VDDEXT_Set(uint16 FlagMask)
Sets the given bits in the PMU->VDDEXT_CTRL register.
Definition: pmu.h:1066

◆ PMU_VDDEXT_UV_Int_Clr()

INLINE void PMU_VDDEXT_UV_Int_Clr ( void  )

Clears VDDEXT Supply Undervoltage interrupt flag.

Example

This example treats the VDDEXT Supply Undervoltage interrupt.

void Example_Function(void)
{
if ((uint8)PMU->VDDEXT_CTRL.bit.VDDEXT_UV_IS == (uint8)1)
{
PMU_VDDEXT_UV_CALLBACK();
}
}
INLINE void PMU_VDDEXT_UV_Int_Clr(void)
Clears VDDEXT Supply Undervoltage interrupt flag.
Definition: pmu.h:904

◆ PMU_VDDP_Int_Dis()

INLINE void PMU_VDDP_Int_Dis ( void  )

Disables of VDDP status information as interrupt source.

Example

This example treats the Overvoltage at VDDP regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_5V_OVERVOLT == (uint8)1)
{
PMU_VDDP_OV_CALLBACK();
}
}
INLINE void PMU_VDDP_Int_Dis(void)
Disables of VDDP status information as interrupt source.
Definition: pmu.h:884
INLINE void PMU_VDDP_Int_En(void)
Enables of VDDP status information as interrupt source.
Definition: pmu.h:879
INLINE void PMU_VDDP_OV_Clr(void)
Clears Overvoltage at VDDP regulator flag.
Definition: pmu.h:924

◆ PMU_VDDP_Int_En()

INLINE void PMU_VDDP_Int_En ( void  )

Enables of VDDP status information as interrupt source.

Example

This example treats the Overvoltage at VDDP regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_5V_OVERVOLT == (uint8)1)
{
PMU_VDDP_OV_CALLBACK();
}
}

◆ PMU_VDDP_OL_Clr()

INLINE void PMU_VDDP_OL_Clr ( void  )

Clears Overload at VDDP regulator flag.

Example

This example treats the Overload at VDDP regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_5V_OVERLOAD == (uint8)1)
{
PMU_VDDP_OL_CALLBACK();
}
}
INLINE void PMU_VDDP_OL_Clr(void)
Clears Overload at VDDP regulator flag.
Definition: pmu.h:929

◆ PMU_VDDP_OV_Clr()

INLINE void PMU_VDDP_OV_Clr ( void  )

Clears Overvoltage at VDDP regulator flag.

Example

This example treats the Overvoltage at VDDP regulator interrupt.

void Example_Function(void)
{
if ((uint8)PMU->SUPPLY_STS.bit.PMU_5V_OVERVOLT == (uint8)1)
{
PMU_VDDP_OV_CALLBACK();
}
}

◆ WAKEUP_Int_Clr()

INLINE void WAKEUP_Int_Clr ( void  )

Clears Wakeup Interrupt flag.

Example

This example treats the Wakeup Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON5.bit.WAKEUP == (uint8)1)
{
PMU_WAKEUP_CALLBACK();
}
}
#define SCU
Definition: tle985x.h:6277
INLINE void WAKEUP_Int_Clr(void)
Clears Wakeup Interrupt flag.
Definition: pmu.h:949
INLINE void WAKEUP_Int_En(void)
Enables Wakeup Interrupt.
Definition: pmu.h:939

◆ WAKEUP_Int_Dis()

INLINE void WAKEUP_Int_Dis ( void  )

Disables Wakeup Interrupt.

Example

This example treats the Wakeup Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON5.bit.WAKEUP == (uint8)1)
{
PMU_WAKEUP_CALLBACK();
}
}
INLINE void WAKEUP_Int_Dis(void)
Disables Wakeup Interrupt.
Definition: pmu.h:944

◆ WAKEUP_Int_En()

INLINE void WAKEUP_Int_En ( void  )

Enables Wakeup Interrupt.

Example

This example treats the Wakeup Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON5.bit.WAKEUP == (uint8)1)
{
PMU_WAKEUP_CALLBACK();
}
}