SmartSnippets DA1459x SDK
Files | Enumerations | Functions

Power Domain Driver. More...

Files

file  hw_pd.h
 Power Domain Driver header file.
 

Enumerations

enum  HW_PD {
  HW_PD_AON = 0, HW_PD_SYS, HW_PD_COM, HW_PD_MEM,
  HW_PD_TMR, HW_PD_PER, HW_PD_RAD, HW_PD_SLP,
  HW_PD_AUD, HW_PD_MAX
}
 Hardware power domains. More...
 

Functions

__STATIC_FORCEINLINE void hw_pd_power_up_periph (void)
 Power up the Peripherals Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_wait_power_down_periph (void)
 Wait for Peripheral Power Domain Power down. More...
 
__STATIC_INLINE bool hw_pd_check_periph_status (void)
 Check the status of Peripherals Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_up_rad (void)
 Power up the Radio Power Domain. More...
 
__STATIC_INLINE void hw_pd_power_down_rad (void)
 Power down the Radio Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_wait_power_down_rad (void)
 Wait for Radio Power Domain Power down. More...
 
__STATIC_INLINE bool hw_pd_check_rad_status (void)
 Check the status of Radio Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_up_com (void)
 Power up the Communications Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_down_com (void)
 Power down the Communications Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_wait_power_down_com (void)
 Wait for Communications Power Domain Power down. More...
 
__STATIC_INLINE bool hw_pd_check_com_status (void)
 Check the status of Communications Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_up_tim (void)
 Power up the Timers Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_down_tim (void)
 Power down the Timers Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_wait_power_down_tim (void)
 Wait for Timers Power Domain Power down. More...
 
__STATIC_INLINE bool hw_pd_check_tim_status (void)
 Check the status of Timers Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_up_aud (void)
 Power up the Audio Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_power_down_aud (void)
 Power down the Audio Power Domain. More...
 
__STATIC_FORCEINLINE void hw_pd_wait_power_down_aud (void)
 Wait for Audio Power Domain Power down. More...
 
__STATIC_INLINE bool hw_pd_check_aud_status (void)
 Check the status of Audio Power Domain. More...
 

Detailed Description

Power Domain Driver.

Enumeration Type Documentation

◆ HW_PD

enum HW_PD

Hardware power domains.

Enumerator
HW_PD_AON 

Aon power domain

HW_PD_SYS 

System power domain

HW_PD_COM 

Communication power domain

HW_PD_MEM 

Memory power domain

HW_PD_TMR 

Timers power domain

HW_PD_PER 

Peripherals power domain

HW_PD_RAD 

Radio power domain

HW_PD_SLP 

Sleep power domain

HW_PD_AUD 

Audio and voice power domain

HW_PD_MAX 

Power domain max

Function Documentation

◆ hw_pd_check_aud_status()

__STATIC_INLINE bool hw_pd_check_aud_status ( void  )

Check the status of Audio Power Domain.

Returns
false if it is powered down and true if it is powered up.

◆ hw_pd_check_com_status()

__STATIC_INLINE bool hw_pd_check_com_status ( void  )

Check the status of Communications Power Domain.

Returns
false if it is powered down and true if it is powered up.

◆ hw_pd_check_periph_status()

__STATIC_INLINE bool hw_pd_check_periph_status ( void  )

Check the status of Peripherals Power Domain.

Returns
false if it is powered down and true if it is powered up.

◆ hw_pd_check_rad_status()

__STATIC_INLINE bool hw_pd_check_rad_status ( void  )

Check the status of Radio Power Domain.

Returns
0, if it is powered down and 1 if it is powered up.

◆ hw_pd_check_tim_status()

__STATIC_INLINE bool hw_pd_check_tim_status ( void  )

Check the status of Timers Power Domain.

Returns
false if it is powered down and true if it is powered up.

◆ hw_pd_power_down_aud()

__STATIC_FORCEINLINE void hw_pd_power_down_aud ( void  )

Power down the Audio Power Domain.

Note
Power Domain Controller (PDC) can also control this power domain (PD). When calling this function, the PD will not be powered down immediately if there is an activated PDC entry requesting this PD. In this case, the PD will be powered down when the system enters sleep state.

◆ hw_pd_power_down_com()

__STATIC_FORCEINLINE void hw_pd_power_down_com ( void  )

Power down the Communications Power Domain.

Note
Power Domain Controller (PDC) can also control this power domain (PD). When calling this function, the PD will not be powered down immediately if there is an activated PDC entry requesting this PD. In this case, the PD will be powered down when the system enters sleep state.

◆ hw_pd_power_down_rad()

__STATIC_INLINE void hw_pd_power_down_rad ( void  )

Power down the Radio Power Domain.

Note
Power Domain Controller (PDC) can also control this power domain (PD). When calling this function, the PD will not be powered down immediately if there is an activated PDC entry requesting this PD. In this case, the PD will be powered down when the system enters sleep state.

◆ hw_pd_power_down_tim()

__STATIC_FORCEINLINE void hw_pd_power_down_tim ( void  )

Power down the Timers Power Domain.

Note
Power Domain Controller (PDC) can also control this power domain (PD). When calling this function, the PD will not be powered down immediately if there is an activated PDC entry requesting this PD. In this case, the PD will be powered down when the system enters sleep state.

◆ hw_pd_power_up_aud()

__STATIC_FORCEINLINE void hw_pd_power_up_aud ( void  )

Power up the Audio Power Domain.

◆ hw_pd_power_up_com()

__STATIC_FORCEINLINE void hw_pd_power_up_com ( void  )

Power up the Communications Power Domain.

◆ hw_pd_power_up_periph()

__STATIC_FORCEINLINE void hw_pd_power_up_periph ( void  )

Power up the Peripherals Power Domain.

◆ hw_pd_power_up_rad()

__STATIC_FORCEINLINE void hw_pd_power_up_rad ( void  )

Power up the Radio Power Domain.

◆ hw_pd_power_up_tim()

__STATIC_FORCEINLINE void hw_pd_power_up_tim ( void  )

Power up the Timers Power Domain.

◆ hw_pd_wait_power_down_aud()

__STATIC_FORCEINLINE void hw_pd_wait_power_down_aud ( void  )

Wait for Audio Power Domain Power down.

Note
Power Domain Controller (PDC) can also control this power domain (PD). The PD will not be powered down if there is a pending PDC entry for this PD.

◆ hw_pd_wait_power_down_com()

__STATIC_FORCEINLINE void hw_pd_wait_power_down_com ( void  )

Wait for Communications Power Domain Power down.

Note
Power Domain Controller (PDC) can also control this power domain (PD). The PD will not be powered down if there is a pending PDC entry for this PD.

◆ hw_pd_wait_power_down_periph()

__STATIC_FORCEINLINE void hw_pd_wait_power_down_periph ( void  )

Wait for Peripheral Power Domain Power down.

Note
Power Domain Controller (PDC) can also control this power domain (PD). The PD will not be powered down if there is a pending PDC entry for this PD.

◆ hw_pd_wait_power_down_rad()

__STATIC_FORCEINLINE void hw_pd_wait_power_down_rad ( void  )

Wait for Radio Power Domain Power down.

Note
Power Domain Controller (PDC) can also control this power domain (PD). The PD will not be powered down if there is a pending PDC entry for this PD.

◆ hw_pd_wait_power_down_tim()

__STATIC_FORCEINLINE void hw_pd_wait_power_down_tim ( void  )

Wait for Timers Power Domain Power down.

Note
Power Domain Controller (PDC) can also control this power domain (PD). The PD will not be powered down if there is a pending PDC entry for this PD.