Public Attributes | List of all members
app_pwm_channel_init_t Struct Reference
Peripheral Driver » APP DRIVER » PWM » Structures

PWM Channel init Structure definition. More...

`#include <app_pwm.h>`

## Public Attributes
uint8_t | duty
| Specifies the duty in PWM output mode. More...
uint8_t | drive_polarity
| Specifies the drive polarity in PWM output mode. More...

## Detailed Description

PWM Channel init Structure definition.

Definition at line 118 of file app_pwm.h.

## Member Data Documentation

## ◆ drive_polarity

uint8_t app_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 123 of file app_pwm.h.

## ◆ duty

uint8_t app_pwm_channel_init_t::duty

Specifies the duty in PWM output mode.

This parameter must be a number between 0 ~ 100.

Definition at line 120 of file app_pwm.h.

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

- app_pwm.h