Public Attributes | List of all members
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>`

## Public Attributes
uint8_t | duty
uint8_t | drive_polarity
uint32_t | fstoplvl

## Detailed Description

PWM Channel init Structure definition.

Definition at line 114 of file gr55xx_hal_pwm.h.

## Member Data 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.

Definition at line 119 of file gr55xx_hal_pwm.h.

## ◆ duty

uint8_t pwm_channel_init_t::duty

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

Definition at line 116 of file gr55xx_hal_pwm.h.

## ◆ fstoplvl

uint32_t pwm_channel_init_t::fstoplvl

Specifies the PWM io level when stop. This parameter can be a value of PWM stop level.

Definition at line 122 of file gr55xx_hal_pwm.h.

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

- gr55xx_hal_pwm.h