pwm_coding_channel_init_t Struct Reference

PWM Coding Channel init Structure definition. More...

#include <hal_pwm.h>

Public Attributes

uint32_t comp0
 
uint32_t comp1
 
uint8_t drive_polarity
 
uint8_t waiting_time_lvl
 

Detailed Description

PWM Coding Channel init Structure definition.

Definition at line 149 of file hal_pwm.h.

Member Data Documentation

◆ comp0

uint32_t pwm_coding_channel_init_t::comp0

Specifies current channel first compare value This parameter must be a number ranges between Min_Data=0 and Max_Data=period.

Definition at line 151 of file hal_pwm.h.

◆ comp1

uint32_t pwm_coding_channel_init_t::comp1

Specifies current channel second compare value This parameter must be a number ranges between Min_Data=0 and Max_Data=period.

Definition at line 154 of file hal_pwm.h.

◆ drive_polarity

uint8_t pwm_coding_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 157 of file hal_pwm.h.

◆ waiting_time_lvl

uint8_t pwm_coding_channel_init_t::waiting_time_lvl

Specifies the waiting time level in coding mode. This parameter can be a value of PWM waiting time io level.

Definition at line 160 of file hal_pwm.h.


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