rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Fields
PWMChannelConfig Struct Reference

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

#include <hal_pwm_lld.h>

Collaboration diagram for PWMChannelConfig:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

Type of a PWM driver channel configuration structure.

Definition at line 140 of file hal_pwm_lld.h.

Field Documentation

◆ callback

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 151 of file hal_pwm_lld.h.

Referenced by pwm_lld_serve_interrupt().

◆ mode

pwmmode_t PWMChannelConfig::mode

Channel active logic level.

Definition at line 144 of file hal_pwm_lld.h.

Referenced by pwm_lld_enable_channel().


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