Data Fields
pwm_channel_init_t Struct Reference
Peripheral Driver » HAL Driver » PWM » Structures » PWM Configuration

PWM Channel init Structure definition. More...

`#include <gr55xx_hal_pwm.h>`

## Data Fields
uint8_t | duty
uint8_t | drive_polarity

## Detailed Description

PWM Channel init Structure definition.

## Field Documentation

## ◆ drive_polarity

uint8_t pwm_channel_init_t::drive_polarity

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

## ◆ duty

uint8_t pwm_channel_init_t::duty

Specifies the duty in PWM output mode. This parameter must be a number between 0 ~ 100.

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

- gr55xx_hal_pwm.h