Configuration functions
+ Collaboration diagram for Configuration functions:

Functions

__STATIC_INLINE void ll_pwm_enable (pwm_regs_t *PWMx)
 Enable PWM. More...
 
__STATIC_INLINE void ll_pwm_disable (pwm_regs_t *PWMx)
 Disable PWM. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled (pwm_regs_t *PWMx)
 Indicate whether the PWM is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_pause (pwm_regs_t *PWMx)
 Enable PWM pause. More...
 
__STATIC_INLINE void ll_pwm_disable_pause (pwm_regs_t *PWMx)
 Disable PWM pause. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_pause (pwm_regs_t *PWMx)
 Indicate whether the PWM pause is enabled. More...
 
__STATIC_INLINE void ll_pwm_set_mode (pwm_regs_t *PWMx, uint32_t mode)
 Set PWM mode. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_mode (pwm_regs_t *PWMx)
 Get PWM mode. More...
 
__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_a (pwm_regs_t *PWMx)
 Enable positive drive mode in channelA. More...
 
__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_a (pwm_regs_t *PWMx)
 Disable positive drive mode in channelA. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_a (pwm_regs_t *PWMx)
 Indicate whether the positive drive mode in channelA is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_b (pwm_regs_t *PWMx)
 Enable positive drive mode in channelB. More...
 
__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_b (pwm_regs_t *PWMx)
 Disable positive drive mode in channelB. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_b (pwm_regs_t *PWMx)
 Indicate whether the positive drive mode in channelB is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_c (pwm_regs_t *PWMx)
 Enable positive drive mode in channelC. More...
 
__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_c (pwm_regs_t *PWMx)
 Disable positive drive mode in channelC. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_c (pwm_regs_t *PWMx)
 Indicate whether the positive drive mode in channelC is enabled. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_active_flag_update_all (pwm_regs_t *PWMx)
 Check update active flag. More...
 
__STATIC_INLINE void ll_pwm_enable_update_all (pwm_regs_t *PWMx)
 Enable update all parameters. More...
 
__STATIC_INLINE void ll_pwm_disable_update_all (pwm_regs_t *PWMx)
 Disable update all parameters. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_all (pwm_regs_t *PWMx)
 Indicate whether the update all parameters is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_period (pwm_regs_t *PWMx)
 Enable update period. More...
 
__STATIC_INLINE void ll_pwm_disable_update_period (pwm_regs_t *PWMx)
 Disable update period. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_period (pwm_regs_t *PWMx)
 Indicate whether the update period is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_a0 (pwm_regs_t *PWMx)
 Enable update compareA0. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_a0 (pwm_regs_t *PWMx)
 Disable update compareA0. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_a0 (pwm_regs_t *PWMx)
 Indicate whether the update compareA0 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_a1 (pwm_regs_t *PWMx)
 Enable update compareA1. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_a1 (pwm_regs_t *PWMx)
 Disable update compareA1. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_a1 (pwm_regs_t *PWMx)
 Indicate whether the update compareA1 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_b0 (pwm_regs_t *PWMx)
 Enable update compareB0. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_b0 (pwm_regs_t *PWMx)
 Disable update compareB0. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_b0 (pwm_regs_t *PWMx)
 Indicate whether the update compareB0 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_b1 (pwm_regs_t *PWMx)
 Enable update compareB1. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_b1 (pwm_regs_t *PWMx)
 Disable update compareB1. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_b1 (pwm_regs_t *PWMx)
 Indicate whether the update compareB1 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_c0 (pwm_regs_t *PWMx)
 Enable update compareC0. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_c0 (pwm_regs_t *PWMx)
 Disable update compareC0. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_c0 (pwm_regs_t *PWMx)
 Indicate whether the update compareC0 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_compare_c1 (pwm_regs_t *PWMx)
 Enable update compareC1. More...
 
__STATIC_INLINE void ll_pwm_disable_update_compare_c1 (pwm_regs_t *PWMx)
 Disable update compareC1. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_c1 (pwm_regs_t *PWMx)
 Indicate whether the update compareC1 is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_pause (pwm_regs_t *PWMx)
 Enable update pause. More...
 
__STATIC_INLINE void ll_pwm_disable_update_pause (pwm_regs_t *PWMx)
 Disable update pause. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_pause (pwm_regs_t *PWMx)
 Indicate whether the update pause is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_breath_period (pwm_regs_t *PWMx)
 Enable update breath period. More...
 
__STATIC_INLINE void ll_pwm_disable_update_breath_period (pwm_regs_t *PWMx)
 Disable update breath period. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_breath_period (pwm_regs_t *PWMx)
 Indicate whether the update breath period is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_hold_period (pwm_regs_t *PWMx)
 Enable update hold period. More...
 
__STATIC_INLINE void ll_pwm_disable_update_hold_period (pwm_regs_t *PWMx)
 Disable update hold period. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_hold_period (pwm_regs_t *PWMx)
 Indicate whether the update hold period is enabled. More...
 
__STATIC_INLINE void ll_pwm_enable_update_active_event (pwm_regs_t *PWMx)
 Enable update active event. More...
 
__STATIC_INLINE void ll_pwm_disable_update_active_event (pwm_regs_t *PWMx)
 Disable update active event. More...
 
__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_active_event (pwm_regs_t *PWMx)
 Indicate whether the update active event is enabled. More...
 
__STATIC_INLINE void ll_pwm_set_prescaler (pwm_regs_t *PWMx, uint32_t prescaler)
 Set the PWM prescaler. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_prescaler (pwm_regs_t *PWMx)
 Get the PWM prescaler. More...
 
__STATIC_INLINE void ll_pwm_set_compare_a0 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter A0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_a0 (pwm_regs_t *PWMx)
 Get the PWM compare counter A0. More...
 
__STATIC_INLINE void ll_pwm_set_compare_a1 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter A1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_a1 (pwm_regs_t *PWMx)
 Get the PWM compare counter A1. More...
 
__STATIC_INLINE void ll_pwm_set_compare_b0 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter B0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_b0 (pwm_regs_t *PWMx)
 Get the PWM compare counter B0. More...
 
__STATIC_INLINE void ll_pwm_set_compare_b1 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter B1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_b1 (pwm_regs_t *PWMx)
 Get the PWM compare counter B1. More...
 
__STATIC_INLINE void ll_pwm_set_compare_c0 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter C0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_c0 (pwm_regs_t *PWMx)
 Get the PWM compare counter C0. More...
 
__STATIC_INLINE void ll_pwm_set_compare_c1 (pwm_regs_t *PWMx, uint32_t compare)
 Set the PWM compare counter C1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_compare_c1 (pwm_regs_t *PWMx)
 Get the PWM compare counter C1. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_a0 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel A0 action event when PWM counter value reaches compare counter A0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_a0 (pwm_regs_t *PWMx)
 Get the channel A0 action event when PWM counter value reaches compare counter A0. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_a1 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel A1 action event when PWM counter value reaches compare counter A1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_a1 (pwm_regs_t *PWMx)
 Get the channel A1 action event when PWM counter value reaches compare counter A1. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_b0 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel B0 action event when PWM counter value reaches compare counter B0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_b0 (pwm_regs_t *PWMx)
 Get the channel B0 action event when PWM counter value reaches compare counter B0. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_b1 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel B1 action event when PWM counter value reaches compare counter B1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_b1 (pwm_regs_t *PWMx)
 Get the channel B1 action event when PWM counter value reaches compare counter B1. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_c0 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel C0 action event when PWM counter value reaches compare counter C0. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_c0 (pwm_regs_t *PWMx)
 Get the channel C0 action event when PWM counter value reaches compare counter C0. More...
 
__STATIC_INLINE void ll_pwm_set_action_event_cmp_c1 (pwm_regs_t *PWMx, uint32_t action_event)
 Set the channel C1 action event when PWM counter value reaches compare counter C1. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_c1 (pwm_regs_t *PWMx)
 Get the channel C1 action event when PWM counter value reaches compare counter C1. More...
 
__STATIC_INLINE void ll_pwm_set_breath_prescaler (pwm_regs_t *PWMx, uint32_t bprescaler)
 Set the breath prescaler in breath mode. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_breath_prescaler (pwm_regs_t *PWMx)
 Get the breath prescaler in breath mode. More...
 
__STATIC_INLINE void ll_pwm_set_hold_prescaler (pwm_regs_t *PWMx, uint32_t hprescaler)
 Set the hold prescaler in breath mode. More...
 
__STATIC_INLINE uint32_t ll_pwm_get_hold_prescaler (pwm_regs_t *PWMx)
 Get the hold prescaler in breath mode. More...
 

Detailed Description

Function Documentation

◆ ll_pwm_disable()

__STATIC_INLINE void ll_pwm_disable ( pwm_regs_t *  PWMx)

Disable PWM.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | EN | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 289 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_pause()

__STATIC_INLINE void ll_pwm_disable_pause ( pwm_regs_t *  PWMx)

Disable PWM pause.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | PAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 346 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_positive_drive_channel_a()

__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_a ( pwm_regs_t *  PWMx)

Disable positive drive mode in channelA.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 446 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_positive_drive_channel_b()

__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_b ( pwm_regs_t *  PWMx)

Disable positive drive mode in channelB.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENB | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 503 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_positive_drive_channel_c()

__STATIC_INLINE void ll_pwm_disable_positive_drive_channel_c ( pwm_regs_t *  PWMx)

Disable positive drive mode in channelC.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENC | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 560 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_active_event()

__STATIC_INLINE void ll_pwm_disable_update_active_event ( pwm_regs_t *  PWMx)

Disable update active event.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSAQCTRL | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1263 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_all()

__STATIC_INLINE void ll_pwm_disable_update_all ( pwm_regs_t *  PWMx)

Disable update all parameters.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 636 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_breath_period()

__STATIC_INLINE void ll_pwm_disable_update_breath_period ( pwm_regs_t *  PWMx)

Disable update breath period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSBRPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1149 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_a0()

__STATIC_INLINE void ll_pwm_disable_update_compare_a0 ( pwm_regs_t *  PWMx)

Disable update compareA0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 750 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_a1()

__STATIC_INLINE void ll_pwm_disable_update_compare_a1 ( pwm_regs_t *  PWMx)

Disable update compareA1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 807 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_b0()

__STATIC_INLINE void ll_pwm_disable_update_compare_b0 ( pwm_regs_t *  PWMx)

Disable update compareB0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 864 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_b1()

__STATIC_INLINE void ll_pwm_disable_update_compare_b1 ( pwm_regs_t *  PWMx)

Disable update compareB1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 921 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_c0()

__STATIC_INLINE void ll_pwm_disable_update_compare_c0 ( pwm_regs_t *  PWMx)

Disable update compareC0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 978 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_compare_c1()

__STATIC_INLINE void ll_pwm_disable_update_compare_c1 ( pwm_regs_t *  PWMx)

Disable update compareC1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1035 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_hold_period()

__STATIC_INLINE void ll_pwm_disable_update_hold_period ( pwm_regs_t *  PWMx)

Disable update hold period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSHOLD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1206 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_pause()

__STATIC_INLINE void ll_pwm_disable_update_pause ( pwm_regs_t *  PWMx)

Disable update pause.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1092 of file gr55xx_ll_pwm.h.

◆ ll_pwm_disable_update_period()

__STATIC_INLINE void ll_pwm_disable_update_period ( pwm_regs_t *  PWMx)

Disable update period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 693 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable()

__STATIC_INLINE void ll_pwm_enable ( pwm_regs_t *  PWMx)

Enable PWM.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | EN | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 270 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_pause()

__STATIC_INLINE void ll_pwm_enable_pause ( pwm_regs_t *  PWMx)

Enable PWM pause.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | PAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 327 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_positive_drive_channel_a()

__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_a ( pwm_regs_t *  PWMx)

Enable positive drive mode in channelA.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 427 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_positive_drive_channel_b()

__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_b ( pwm_regs_t *  PWMx)

Enable positive drive mode in channelB.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENB | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 484 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_positive_drive_channel_c()

__STATIC_INLINE void ll_pwm_enable_positive_drive_channel_c ( pwm_regs_t *  PWMx)

Enable positive drive mode in channelC.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENC | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 541 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_active_event()

__STATIC_INLINE void ll_pwm_enable_update_active_event ( pwm_regs_t *  PWMx)

Enable update active event.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSAQCTRL | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1244 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_all()

__STATIC_INLINE void ll_pwm_enable_update_all ( pwm_regs_t *  PWMx)

Enable update all parameters.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 617 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_breath_period()

__STATIC_INLINE void ll_pwm_enable_update_breath_period ( pwm_regs_t *  PWMx)

Enable update breath period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSBRPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1130 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_a0()

__STATIC_INLINE void ll_pwm_enable_update_compare_a0 ( pwm_regs_t *  PWMx)

Enable update compareA0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 731 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_a1()

__STATIC_INLINE void ll_pwm_enable_update_compare_a1 ( pwm_regs_t *  PWMx)

Enable update compareA1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 788 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_b0()

__STATIC_INLINE void ll_pwm_enable_update_compare_b0 ( pwm_regs_t *  PWMx)

Enable update compareB0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 845 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_b1()

__STATIC_INLINE void ll_pwm_enable_update_compare_b1 ( pwm_regs_t *  PWMx)

Enable update compareB1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 902 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_c0()

__STATIC_INLINE void ll_pwm_enable_update_compare_c0 ( pwm_regs_t *  PWMx)

Enable update compareC0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 959 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_compare_c1()

__STATIC_INLINE void ll_pwm_enable_update_compare_c1 ( pwm_regs_t *  PWMx)

Enable update compareC1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1016 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_hold_period()

__STATIC_INLINE void ll_pwm_enable_update_hold_period ( pwm_regs_t *  PWMx)

Enable update hold period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSHOLD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1187 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_pause()

__STATIC_INLINE void ll_pwm_enable_update_pause ( pwm_regs_t *  PWMx)

Enable update pause.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 1073 of file gr55xx_ll_pwm.h.

◆ ll_pwm_enable_update_period()

__STATIC_INLINE void ll_pwm_enable_update_period ( pwm_regs_t *  PWMx)

Enable update period.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
None

Definition at line 674 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_a0()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_a0 ( pwm_regs_t *  PWMx)

Get the channel A0 action event when PWM counter value reaches compare counter A0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | A0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1602 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_a1()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_a1 ( pwm_regs_t *  PWMx)

Get the channel A1 action event when PWM counter value reaches compare counter A1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | A1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1649 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_b0()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_b0 ( pwm_regs_t *  PWMx)

Get the channel B0 action event when PWM counter value reaches compare counter B0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | B0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1696 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_b1()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_b1 ( pwm_regs_t *  PWMx)

Get the channel B1 action event when PWM counter value reaches compare counter B1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | B1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1743 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_c0()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_c0 ( pwm_regs_t *  PWMx)

Get the channel C0 action event when PWM counter value reaches compare counter C0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | C0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1790 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_action_event_cmp_c1()

__STATIC_INLINE uint32_t ll_pwm_get_action_event_cmp_c1 ( pwm_regs_t *  PWMx)

Get the channel C1 action event when PWM counter value reaches compare counter C1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | C1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 1837 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_breath_prescaler()

__STATIC_INLINE uint32_t ll_pwm_get_breath_prescaler ( pwm_regs_t *  PWMx)

Get the breath prescaler in breath mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | BRPRD | BRPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1876 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_a0()

__STATIC_INLINE uint32_t ll_pwm_get_compare_a0 ( pwm_regs_t *  PWMx)

Get the PWM compare counter A0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPA0 | CMPA0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1360 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_a1()

__STATIC_INLINE uint32_t ll_pwm_get_compare_a1 ( pwm_regs_t *  PWMx)

Get the PWM compare counter A1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPA1 | CMPA1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1399 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_b0()

__STATIC_INLINE uint32_t ll_pwm_get_compare_b0 ( pwm_regs_t *  PWMx)

Get the PWM compare counter B0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPB0 | CMPB0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1438 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_b1()

__STATIC_INLINE uint32_t ll_pwm_get_compare_b1 ( pwm_regs_t *  PWMx)

Get the PWM compare counter B1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPB1 | CMPB1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1477 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_c0()

__STATIC_INLINE uint32_t ll_pwm_get_compare_c0 ( pwm_regs_t *  PWMx)

Get the PWM compare counter C0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPC0 | CMPC0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1516 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_compare_c1()

__STATIC_INLINE uint32_t ll_pwm_get_compare_c1 ( pwm_regs_t *  PWMx)

Get the PWM compare counter C1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPC1 | CMPC1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1555 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_hold_prescaler()

__STATIC_INLINE uint32_t ll_pwm_get_hold_prescaler ( pwm_regs_t *  PWMx)

Get the hold prescaler in breath mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | HOLD | HOLD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=0 and Max_Data=0xFFFFFF

Definition at line 1915 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_mode()

__STATIC_INLINE uint32_t ll_pwm_get_mode ( pwm_regs_t *  PWMx)

Get PWM mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | BREATHEN | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue can be one of the following values:

Definition at line 408 of file gr55xx_ll_pwm.h.

◆ ll_pwm_get_prescaler()

__STATIC_INLINE uint32_t ll_pwm_get_prescaler ( pwm_regs_t *  PWMx)

Get the PWM prescaler.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | PRD | PRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Returnvalue ranges between Min_Data=1 and Max_Data=0xFFFFFFFF

Definition at line 1321 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_active_flag_update_all()

__STATIC_INLINE uint32_t ll_pwm_is_active_flag_update_all ( pwm_regs_t *  PWMx)

Check update active flag.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SAG | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 598 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled()

__STATIC_INLINE uint32_t ll_pwm_is_enabled ( pwm_regs_t *  PWMx)

Indicate whether the PWM is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | EN | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 308 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_pause()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_pause ( pwm_regs_t *  PWMx)

Indicate whether the PWM pause is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | PAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 365 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_positive_drive_channel_a()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_a ( pwm_regs_t *  PWMx)

Indicate whether the positive drive mode in channelA is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 465 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_positive_drive_channel_b()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_b ( pwm_regs_t *  PWMx)

Indicate whether the positive drive mode in channelB is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENB | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 522 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_positive_drive_channel_c()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_positive_drive_channel_c ( pwm_regs_t *  PWMx)

Indicate whether the positive drive mode in channelC is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | DPENC | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 579 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_active_event()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_active_event ( pwm_regs_t *  PWMx)

Indicate whether the update active event is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSAQCTRL | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 1282 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_all()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_all ( pwm_regs_t *  PWMx)

Indicate whether the update all parameters is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SA | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 655 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_breath_period()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_breath_period ( pwm_regs_t *  PWMx)

Indicate whether the update breath period is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSBRPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 1168 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_a0()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_a0 ( pwm_regs_t *  PWMx)

Indicate whether the update compareA0 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 769 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_a1()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_a1 ( pwm_regs_t *  PWMx)

Indicate whether the update compareA1 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPA1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 826 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_b0()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_b0 ( pwm_regs_t *  PWMx)

Indicate whether the update compareB0 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 883 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_b1()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_b1 ( pwm_regs_t *  PWMx)

Indicate whether the update compareB1 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPB1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 940 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_c0()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_c0 ( pwm_regs_t *  PWMx)

Indicate whether the update compareC0 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 997 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_compare_c1()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_compare_c1 ( pwm_regs_t *  PWMx)

Indicate whether the update compareC1 is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSCMPC1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 1054 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_hold_period()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_hold_period ( pwm_regs_t *  PWMx)

Indicate whether the update hold period is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSHOLD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 1225 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_pause()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_pause ( pwm_regs_t *  PWMx)

Indicate whether the update pause is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPAUSE | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 1111 of file gr55xx_ll_pwm.h.

◆ ll_pwm_is_enabled_update_period()

__STATIC_INLINE uint32_t ll_pwm_is_enabled_update_period ( pwm_regs_t *  PWMx)

Indicate whether the update period is enabled.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | UPDATE | SSPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
Return values
Stateof bit (1 or 0).

Definition at line 712 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_a0()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_a0 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel A0 action event when PWM counter value reaches compare counter A0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | A0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1579 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_a1()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_a1 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel A1 action event when PWM counter value reaches compare counter A1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | A1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1626 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_b0()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_b0 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel B0 action event when PWM counter value reaches compare counter B0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | B0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1673 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_b1()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_b1 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel B1 action event when PWM counter value reaches compare counter B1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | B1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1720 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_c0()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_c0 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel C0 action event when PWM counter value reaches compare counter C0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | C0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1767 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_action_event_cmp_c1()

__STATIC_INLINE void ll_pwm_set_action_event_cmp_c1 ( pwm_regs_t *  PWMx,
uint32_t  action_event 
)

Set the channel C1 action event when PWM counter value reaches compare counter C1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AQCTRL | C1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
action_eventThis parameter can be one of the following values:
Return values
None

Definition at line 1814 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_breath_prescaler()

__STATIC_INLINE void ll_pwm_set_breath_prescaler ( pwm_regs_t *  PWMx,
uint32_t  bprescaler 
)

Set the breath prescaler in breath mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | BRPRD | BRPRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
bprescalerThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1857 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_a0()

__STATIC_INLINE void ll_pwm_set_compare_a0 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter A0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPA0 | CMPA0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1341 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_a1()

__STATIC_INLINE void ll_pwm_set_compare_a1 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter A1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPA1 | CMPA1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1380 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_b0()

__STATIC_INLINE void ll_pwm_set_compare_b0 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter B0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPB0 | CMPB0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1419 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_b1()

__STATIC_INLINE void ll_pwm_set_compare_b1 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter B1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPB1 | CMPB1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1458 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_c0()

__STATIC_INLINE void ll_pwm_set_compare_c0 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter C0.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPC0 | CMPC0 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1497 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_compare_c1()

__STATIC_INLINE void ll_pwm_set_compare_c1 ( pwm_regs_t *  PWMx,
uint32_t  compare 
)

Set the PWM compare counter C1.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CMPC1 | CMPC1 | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
compareThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1536 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_hold_prescaler()

__STATIC_INLINE void ll_pwm_set_hold_prescaler ( pwm_regs_t *  PWMx,
uint32_t  hprescaler 
)

Set the hold prescaler in breath mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | HOLD | HOLD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
hprescalerThis parameter ranges between Min_Data=0 and Max_Data=0xFFFFFF
Return values
None

Definition at line 1896 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_mode()

__STATIC_INLINE void ll_pwm_set_mode ( pwm_regs_t *  PWMx,
uint32_t  mode 
)

Set PWM mode.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | MODE | BREATHEN | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
modeThis parameter can be one of the following values:
Return values
None

Definition at line 387 of file gr55xx_ll_pwm.h.

◆ ll_pwm_set_prescaler()

__STATIC_INLINE void ll_pwm_set_prescaler ( pwm_regs_t *  PWMx,
uint32_t  prescaler 
)

Set the PWM prescaler.

\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | PRD | PRD | +-------------------—+--------------------------------—+ \endrst

Parameters
PWMxPWM instance
prescalerThis parameter ranges between Min_Data=1 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1302 of file gr55xx_ll_pwm.h.