Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_pwm_v2_channel_config_s Struct Reference

PWM channel configuration structure. More...

#include <bflb_pwm_v2.h>

Collaboration diagram for bflb_pwm_v2_channel_config_s:
Collaboration graph

Data Fields

uint8_t positive_polarity
 
uint8_t negative_polarity
 
uint8_t positive_stop_state
 
uint8_t negative_stop_state
 
uint8_t positive_brake_state
 
uint8_t negative_brake_state
 
uint8_t dead_time
 

Detailed Description

PWM channel configuration structure.

Parameters
positive_polarityPWM posotive channel polarity, use pwm polarity definition
negative_polarityPWM negative channel polarity, use pwm polarity definition
positive_stop_statePWM posotive channel state when stop, use pwm state definition
negative_stop_statePWM negative channel state when stop, use pwm state definition
positive_brake_statePWM posotive channel state when brake, use pwm state definition
negative_brake_statePWM negative channel state when brake, use pwm state definition
dead_timePWM channel dead time

Definition at line 139 of file bflb_pwm_v2.h.

Field Documentation

◆ dead_time

uint8_t dead_time

Definition at line 146 of file bflb_pwm_v2.h.

◆ negative_brake_state

uint8_t negative_brake_state

Definition at line 145 of file bflb_pwm_v2.h.

◆ negative_polarity

uint8_t negative_polarity

Definition at line 141 of file bflb_pwm_v2.h.

◆ negative_stop_state

uint8_t negative_stop_state

Definition at line 143 of file bflb_pwm_v2.h.

◆ positive_brake_state

uint8_t positive_brake_state

Definition at line 144 of file bflb_pwm_v2.h.

◆ positive_polarity

uint8_t positive_polarity

Definition at line 140 of file bflb_pwm_v2.h.

◆ positive_stop_state

uint8_t positive_stop_state

Definition at line 142 of file bflb_pwm_v2.h.


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