|
int | pwm_channel_init (unsigned int channel_id, const avr32_pwm_channel_t *pwm_channel) |
| Initialize a specific PWM channel. More...
|
|
void | pwm_clr_fault_status (void) |
| Return Fault Status. More...
|
|
int | pwm_compare_event_disable (int line, int event_line) |
| Compare Event Disable. More...
|
|
int | pwm_compare_event_enable (int line, int event_line) |
| Compare Event Enable. More...
|
|
int | pwm_compare_match_reload_setup (int line, pwm_compare_opt_t *pwm_compare_t) |
| Compare Match Reload Setup. More...
|
|
int | pwm_compare_match_setup (int line, pwm_compare_opt_t *pwm_compare_t) |
| Compare Match Setup. More...
|
|
int | pwm_fault_lines_enable (U8 line, U8 channel) |
| Fault Lines Enable function. More...
|
|
int | pwm_fault_lines_level_setup (U8 line, U8 channel_high, U8 channel_low) |
| Fault Lines Level Setup Function. More...
|
|
int | pwm_fault_lines_polarity_setup (U8 line, U8 polarity, U8 mode, U8 filter) |
| Fault Lines Level Polarity Function. More...
|
|
int | pwm_get_fault_status (void) |
| Get Fault Status. More...
|
|
int | pwm_init (pwm_opt_t *opt) |
| This function initialize the PWM controller (mode register) and disable the interrupt. More...
|
|
int | pwm_interrupt_update_channel (unsigned int channel_id, const avr32_pwm_channel_t *pwm_channel) |
| Update channel register CPRDx or CDTYx with the interrupt method. This function uses the CUPDx register as a double buffer for the period or the duty cycle. Only the first 20 bits of cupd are significant. More...
|
|
int | pwm_output_override_setup (pwm_output_override_opt_t *opt) |
| Output Override Configuration. This function uses the OS and OOV registers. More...
|
|
int | pwm_output_override_write (pwm_output_override_opt_t *opt) |
| Output Override Set. This function uses the OS and OOV registers. More...
|
|
int | pwm_start_channels (unsigned long channels_bitmask) |
| Start PWM channels. More...
|
|
int | pwm_stop_channels (unsigned long channels_bitmask) |
| Stop PWM channels. More...
|
|
int | pwm_synchronous_prepare_update (unsigned int channel_id, const avr32_pwm_channel_t *pwm_channel) |
| Prepare a Synchronous Channel, User should call this function for all the synchronous channel. More...
|
|
int | pwm_update_auto_write_auto_update_check_eot (void) |
| Synchronous Update with Manual Write and Auto Update Method. More...
|
|
int | pwm_update_auto_write_auto_update_check_ready (void) |
| Synchronous Update with Manual Write and Auto Update Method. More...
|
|
int | pwm_update_channel (unsigned int channel_id, const avr32_pwm_channel_t *pwm_channel) |
| Update channel register CPRDx or CDTYx with the polling method. This function uses the CUPDx register as a double buffer for the period or the duty cycle. Only the first 20 bits of cupd are significant. More...
|
|
int | pwm_update_manual_write_auto_update (void) |
| Synchronous Update with Manual Write and Auto Update Method. More...
|
|
int | pwm_update_manual_write_manual_update (void) |
| Synchronous Update with Manual Write and Manual Update Method. More...
|
|
int | pwm_update_period_value (unsigned int value) |
| Define Update Period Value For Update Of Synchronous Channel. More...
|
|
int | pwm_write_protect_hw_lock (int group) |
| Hardware Write Protect Lock Function. This function uses the WPMR register. More...
|
|
U32 | pwm_write_protect_status (void) |
| Write Protect Status Function. This function uses the WPSR register. More...
|
|
int | pwm_write_protect_sw_lock (int group) |
| Software Write Protect Lock Function. This function uses the WPMR register. More...
|
|
int | pwm_write_protect_sw_unlock (int group) |
| Software Write Protect Unlock Function. This function uses the WPMR register. More...
|
|