Public Attributes | List of all members
pwm_init_t Struct Reference
Peripheral Driver » HAL Driver » PWM » Structures » PWM Configuration

PWM Init Structure definition. More...

`#include <hal_pwm.h>`

## Public Attributes
hal_pwm_mode_t | mode
uint32_t | prd_cycles
pwm_none_coding_init_t | none_coding_mode_cfg
pwm_coding_init_t | coding_mode_cfg

## Detailed Description

PWM Init Structure definition.

Definition at line 222 of file hal_pwm.h.

## Member Data Documentation

## ◆ coding_mode_cfg

pwm_coding_init_t pwm_init_t::coding_mode_cfg

Specifies the coding mode config. This parameter can be a value of pwm_coding_init_t.

Definition at line 233 of file hal_pwm.h.

## ◆ mode

hal_pwm_mode_t pwm_init_t::mode

Specifies the PWM output mode state. This parameter can be a value of PWM Pulses Aligned.

Definition at line 224 of file hal_pwm.h.

## ◆ none_coding_mode_cfg

pwm_none_coding_init_t pwm_init_t::none_coding_mode_cfg

Specifies the none coding mode config. This parameter can be a value of pwm_none_coding_init_t.

Definition at line 230 of file hal_pwm.h.

## ◆ prd_cycles

uint32_t pwm_init_t::prd_cycles

Specifies the number of period cycle in Flicker mode or Coding mode. This parameter control the number of period cycles, when set to 0 will continuously generate waveform.

Definition at line 227 of file hal_pwm.h.

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

- hal_pwm.h