Data Fields
_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>`

## Data Fields
uint8_t | duty
uint8_t | drive_polarity

## Detailed Description

LL PWM Output Channel init Structure definition.

## Field 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).

## ◆ 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).

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

- gr55xx_ll_pwm.h