Public Attributes | List of all members
_ll_pwm_channel_init_t Struct Reference
Peripheral Driver » LL Driver » PWM » Structures » PWM Exported init structures

LL PWM Output Channel init Structure definition. More...

`#include <gr55xx_ll_pwm.h>`

## Public Attributes
uint8_t | duty
uint8_t | drive_polarity

## Detailed Description

LL PWM Output Channel init Structure definition.

Definition at line 74 of file gr55xx_ll_pwm.h.

## Member Data Documentation

## ◆ drive_polarity

uint8_t _ll_pwm_channel_init_t::drive_polarity

Specifies the drive polarity in PWM output mode. This parameter can be a value of PWM drive polarity.

This feature can be modified afterwards using unitary function ll_pwm_enable_positive_drive_channel_x() and ll_pwm_disable_positive_drive_channel_x() where X can be (A, B, C).

Definition at line 82 of file gr55xx_ll_pwm.h.

## ◆ duty

uint8_t _ll_pwm_channel_init_t::duty

Specifies the duty in PWM output mode. This parameter must be a number ranges between Min_Data=0 and Max_Data=100.

This feature can be modified afterwards using unitary function ll_pwm_set_compare_xn() where X can be (A, B, C) and n can be (0, 1).

Definition at line 76 of file gr55xx_ll_pwm.h.

The documentation for this struct was generated from the following file:

- gr55xx_ll_pwm.h