|
SAM4SD32 (SAM4S-EK2)
|
Input parameters when configuring a PWM channel mode. More...
#include <pwm.h>
Data Fields | |
| pwm_align_t | alignment |
| Channel alignment. | |
| bool | b_deadtime_generator |
| Boolean of channel dead-time generator. | |
| bool | b_pwmh_output_inverted |
| Boolean of channel dead-time PWMH output inverted. | |
| bool | b_pwml_output_inverted |
| Boolean of channel dead-time PWML output inverted. | |
| bool | b_sync_ch |
| Boolean of Synchronous Channel. | |
| uint32_t | channel |
| Channel number. | |
| pwm_counter_event_t | counter_event |
| Channel counter event. | |
| pwm_fault_id_t | fault_id |
| Fault ID of the channel. | |
| pwm_output_t | output_selection |
| Channel output. | |
| pwm_level_t | polarity |
| Channel initial polarity. | |
| uint32_t | ul_duty |
| Duty Cycle Value. | |
| pwm_level_t | ul_fault_output_pwmh |
| Channel PWMH output level in fault protection. | |
| pwm_level_t | ul_fault_output_pwml |
| Channel PWML output level in fault protection. | |
| uint32_t | ul_period |
| Period Cycle Value. | |
| uint32_t | ul_prescaler |
| Channel prescaler. | |
| uint16_t | us_deadtime_pwmh |
| Dead-time Value for PWMH Output. | |
| uint16_t | us_deadtime_pwml |
| Dead-time Value for PWML Output. | |
| pwm_align_t pwm_channel_t::alignment |
| bool pwm_channel_t::b_deadtime_generator |
Boolean of channel dead-time generator.
Definition at line 302 of file pwm.h.
Referenced by pwm_channel_init().
| bool pwm_channel_t::b_pwmh_output_inverted |
Boolean of channel dead-time PWMH output inverted.
Definition at line 304 of file pwm.h.
Referenced by pwm_channel_init().
| bool pwm_channel_t::b_pwml_output_inverted |
Boolean of channel dead-time PWML output inverted.
Definition at line 306 of file pwm.h.
Referenced by pwm_channel_init().
| bool pwm_channel_t::b_sync_ch |
Boolean of Synchronous Channel.
Definition at line 314 of file pwm.h.
Referenced by pwm_channel_init().
| uint32_t pwm_channel_t::channel |
Channel number.
Definition at line 286 of file pwm.h.
Referenced by pwm_channel_get_counter(), pwm_channel_init(), pwm_channel_update_dead_time(), pwm_channel_update_duty(), pwm_channel_update_output(), and pwm_channel_update_period().
| pwm_counter_event_t pwm_channel_t::counter_event |
| pwm_fault_id_t pwm_channel_t::fault_id |
| pwm_output_t pwm_channel_t::output_selection |
Channel output.
Definition at line 312 of file pwm.h.
Referenced by pwm_channel_init(), and pwm_channel_update_output().
| pwm_level_t pwm_channel_t::polarity |
| uint32_t pwm_channel_t::ul_duty |
Duty Cycle Value.
Definition at line 294 of file pwm.h.
Referenced by pwm_channel_init(), pwm_channel_update_duty(), and pwm_channel_update_period().
| pwm_level_t pwm_channel_t::ul_fault_output_pwmh |
Channel PWMH output level in fault protection.
Definition at line 318 of file pwm.h.
Referenced by pwm_channel_init().
| pwm_level_t pwm_channel_t::ul_fault_output_pwml |
Channel PWML output level in fault protection.
Definition at line 320 of file pwm.h.
Referenced by pwm_channel_init().
| uint32_t pwm_channel_t::ul_period |
Period Cycle Value.
Definition at line 296 of file pwm.h.
Referenced by pwm_channel_init(), pwm_channel_update_duty(), and pwm_channel_update_period().
| uint32_t pwm_channel_t::ul_prescaler |
| uint16_t pwm_channel_t::us_deadtime_pwmh |
Dead-time Value for PWMH Output.
Definition at line 308 of file pwm.h.
Referenced by pwm_channel_update_dead_time().
| uint16_t pwm_channel_t::us_deadtime_pwml |
Dead-time Value for PWML Output.
Definition at line 310 of file pwm.h.
Referenced by pwm_channel_update_dead_time().