ChibiOS/HAL  6.1.0
PWMChannelConfig Struct Reference

Type of a PWM driver channel configuration structure. More...

#include <hal_pwm_lld.h>

Collaboration diagram for PWMChannelConfig:
Collaboration graph

Data Fields

pwmmode_t mode
 Channel active logic level. More...
 
pwmcallback_t callback
 Channel callback pointer. More...
 

Detailed Description

Type of a PWM driver channel configuration structure.

Definition at line 88 of file hal_pwm_lld.h.

Field Documentation

pwmmode_t PWMChannelConfig::mode

Channel active logic level.

Definition at line 92 of file hal_pwm_lld.h.

pwmcallback_t PWMChannelConfig::callback

Channel callback pointer.

Note
This callback is invoked on the channel compare event. If set to NULL then the callback is disabled.

Definition at line 98 of file hal_pwm_lld.h.

Referenced by pwmDisableChannelNotification(), and pwmEnableChannelNotification().