Functions
Configuration functions
Peripheral Driver » LL Driver » PWM » 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.

Register | BitsName
--- | ---
MODE | EN

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 281 of file gr55xx_ll_pwm.h.

## ◆ ll_pwm_disable_pause()

__STATIC_INLINE void ll_pwm_disable_pause | ( | pwm_regs_t * | PWMx | ) |

Disable PWM pause.

Register | BitsName
--- | ---
MODE | PAUSE

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 326 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.

Register | BitsName
--- | ---
MODE | DPENA

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 406 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.

Register | BitsName
--- | ---
MODE | DPENB

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 451 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.

Register | BitsName
--- | ---
MODE | DPENC

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 496 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.

Register | BitsName
--- | ---
UPDATE | SSAQCTRL

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 1051 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.

Register | BitsName
--- | ---
UPDATE | SA

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 556 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.

Register | BitsName
--- | ---
UPDATE | SSBRPRD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 961 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 646 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 691 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 736 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 781 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 826 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 871 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.

Register | BitsName
--- | ---
UPDATE | SSHOLD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 1006 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.

Register | BitsName
--- | ---
UPDATE | SSPAUSE

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 916 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.

Register | BitsName
--- | ---
UPDATE | SSPRD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 601 of file gr55xx_ll_pwm.h.

## ◆ ll_pwm_enable()

__STATIC_INLINE void ll_pwm_enable | ( | pwm_regs_t * | PWMx | ) |

Enable PWM.

Register | BitsName
--- | ---
MODE | EN

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 266 of file gr55xx_ll_pwm.h.

## ◆ ll_pwm_enable_pause()

__STATIC_INLINE void ll_pwm_enable_pause | ( | pwm_regs_t * | PWMx | ) |

Enable PWM pause.

Register | BitsName
--- | ---
MODE | PAUSE

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 311 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.

Register | BitsName
--- | ---
MODE | DPENA

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 391 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.

Register | BitsName
--- | ---
MODE | DPENB

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 436 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.

Register | BitsName
--- | ---
MODE | DPENC

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 481 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.

Register | BitsName
--- | ---
UPDATE | SSAQCTRL

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 1036 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.

Register | BitsName
--- | ---
UPDATE | SA

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 541 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.

Register | BitsName
--- | ---
UPDATE | SSBRPRD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 946 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 631 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 676 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 721 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 766 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC0

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 811 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC1

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 856 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.

Register | BitsName
--- | ---
UPDATE | SSHOLD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 991 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.

Register | BitsName
--- | ---
UPDATE | SSPAUSE

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 901 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.

Register | BitsName
--- | ---
UPDATE | SSPRD

Parameters

  PWMx | PWM instance

Return values

  None |

Definition at line 586 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.

Register | BitsName
--- | ---
AQCTRL | A0

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1322 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.

Register | BitsName
--- | ---
AQCTRL | A1

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1361 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.

Register | BitsName
--- | ---
AQCTRL | B0

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1400 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.

Register | BitsName
--- | ---
AQCTRL | B1

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1439 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.

Register | BitsName
--- | ---
AQCTRL | C0

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1478 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.

Register | BitsName
--- | ---
AQCTRL | C1

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Definition at line 1517 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.

Register | BitsName
--- | ---
BRPRD | BRPRD

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1548 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.

Register | BitsName
--- | ---
CMPA0 | CMPA0

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1128 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.

Register | BitsName
--- | ---
CMPA1 | CMPA1

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1159 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.

Register | BitsName
--- | ---
CMPB0 | CMPB0

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1190 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.

Register | BitsName
--- | ---
CMPB1 | CMPB1

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1221 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.

Register | BitsName
--- | ---
CMPC0 | CMPC0

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1252 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.

Register | BitsName
--- | ---
CMPC1 | CMPC1

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1283 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.

Register | BitsName
--- | ---
HOLD | HOLD

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=0 and Max_Data=0xFFFFFF

Definition at line 1579 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.

Register | BitsName
--- | ---
MODE | BREATHEN

Parameters

  PWMx | PWM instance

Return values

  Return | value can be one of the following values: LL_PWM_FLICKER_MODE LL_PWM_BREATH_MODE

Definition at line 376 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.

Register | BitsName
--- | ---
PRD | PRD

Parameters

  PWMx | PWM instance

Return values

  Return | value ranges between Min_Data=1 and Max_Data=0xFFFFFFFF

Definition at line 1097 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.

Register | BitsName
--- | ---
UPDATE | SAG

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 526 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.

Register | BitsName
--- | ---
MODE | EN

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 296 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.

Register | BitsName
--- | ---
MODE | PAUSE

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 341 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.

Register | BitsName
--- | ---
MODE | DPENA

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 421 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.

Register | BitsName
--- | ---
MODE | DPENB

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 466 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.

Register | BitsName
--- | ---
MODE | DPENC

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 511 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.

Register | BitsName
--- | ---
UPDATE | SSAQCTRL

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 1066 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.

Register | BitsName
--- | ---
UPDATE | SA

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 571 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.

Register | BitsName
--- | ---
UPDATE | SSBRPRD

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 976 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA0

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 661 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.

Register | BitsName
--- | ---
UPDATE | SSCMPA1

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 706 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB0

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 751 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.

Register | BitsName
--- | ---
UPDATE | SSCMPB1

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 796 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC0

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 841 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.

Register | BitsName
--- | ---
UPDATE | SSCMPC1

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 886 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.

Register | BitsName
--- | ---
UPDATE | SSHOLD

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 1021 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.

Register | BitsName
--- | ---
UPDATE | SSPAUSE

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 931 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.

Register | BitsName
--- | ---
UPDATE | SSPRD

Parameters

  PWMx | PWM instance

Return values

  State | of bit (1 or 0).

Definition at line 616 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.

Register | BitsName
--- | ---
AQCTRL | A0

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1303 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.

Register | BitsName
--- | ---
AQCTRL | A1

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1342 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.

Register | BitsName
--- | ---
AQCTRL | B0

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1381 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.

Register | BitsName
--- | ---
AQCTRL | B1

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1420 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.

Register | BitsName
--- | ---
AQCTRL | C0

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1459 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.

Register | BitsName
--- | ---
AQCTRL | C1

Parameters

  PWMx | PWM instance
  action_event | This parameter can be one of the following values: LL_PWM_ACTIONEVENT_NONE LL_PWM_ACTIONEVENT_CLEAR LL_PWM_ACTIONEVENT_SET LL_PWM_ACTIONEVENT_TOGGLE

Return values

  None |

Definition at line 1498 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.

Register | BitsName
--- | ---
BRPRD | BRPRD

Parameters

  PWMx | PWM instance
  bprescaler | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1533 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.

Register | BitsName
--- | ---
CMPA0 | CMPA0

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1113 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.

Register | BitsName
--- | ---
CMPA1 | CMPA1

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1144 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.

Register | BitsName
--- | ---
CMPB0 | CMPB0

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1175 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.

Register | BitsName
--- | ---
CMPB1 | CMPB1

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1206 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.

Register | BitsName
--- | ---
CMPC0 | CMPC0

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1237 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.

Register | BitsName
--- | ---
CMPC1 | CMPC1

Parameters

  PWMx | PWM instance
  compare | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1268 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.

Register | BitsName
--- | ---
HOLD | HOLD

Parameters

  PWMx | PWM instance
  hprescaler | This parameter ranges between Min_Data=0 and Max_Data=0xFFFFFF

Return values

  None |

Definition at line 1564 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.

Register | BitsName
--- | ---
MODE | BREATHEN

Parameters

  PWMx | PWM instance
  mode | This parameter can be one of the following values: LL_PWM_FLICKER_MODE LL_PWM_BREATH_MODE

Return values

  None |

Definition at line 359 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.

Register | BitsName
--- | ---
PRD | PRD

Parameters

  PWMx | PWM instance
  prescaler | This parameter ranges between Min_Data=1 and Max_Data=0xFFFFFFFF

Return values

  None |

Definition at line 1082 of file gr55xx_ll_pwm.h.