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

Structure representing a PWM driver. More...

#include <hal_pwm_lld.h>

Collaboration diagram for PWMDriver:
Collaboration graph
[legend]

Data Fields

pwmstate_t state
 Driver state.
 
const PWMConfigconfig
 Current driver configuration data.
 
pwmcnt_t period
 Current PWM period in ticks.
 
pwmchnmsk_t enabled
 Mask of the enabled channels.
 
pwmchannel_t channels
 Number of channels in this instance.
 
PWM_DRIVER_EXT_FIELDS FTM_TypeDef * ftm
 Pointer to the FTM registers block.
 

Detailed Description

Structure representing a PWM driver.

Definition at line 199 of file hal_pwm_lld.h.

Field Documentation

◆ channels

pwmchannel_t PWMDriver::channels

Number of channels in this instance.

Definition at line 219 of file hal_pwm_lld.h.

Referenced by pwm_lld_init(), and pwm_lld_serve_interrupt().

◆ config

const PWMConfig* PWMDriver::config

Current driver configuration data.

Definition at line 207 of file hal_pwm_lld.h.

Referenced by pwm_lld_enable_channel(), pwm_lld_serve_interrupt(), and pwm_lld_start().

◆ enabled

pwmchnmsk_t PWMDriver::enabled

Mask of the enabled channels.

Definition at line 215 of file hal_pwm_lld.h.

◆ ftm

PWM_DRIVER_EXT_FIELDS FTM_TypeDef* PWMDriver::ftm

◆ period

pwmcnt_t PWMDriver::period

Current PWM period in ticks.

Definition at line 211 of file hal_pwm_lld.h.

Referenced by pwm_lld_start().

◆ state

pwmstate_t PWMDriver::state

Driver state.

Definition at line 203 of file hal_pwm_lld.h.

Referenced by pwm_lld_start(), and pwm_lld_stop().


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