HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
Loading...
Searching...
No Matches
PWM_IC Struct Reference

PWM input capture structure. More...

#include <PWM_IC.h>

Data Structures

struct  [struct].cfg

Data Fields

uint32_t Frequency
 Frequency Value.
uint32_t DutyCycle
 Duty Cycle Value.
uint32_t Timeout
 No sample timeout.
volatile uint32_t CallbackTick
 Last callback Tick (useful to ensure Freq & DutyCycle are still valid).
volatile uint32_t Direct_cnt
 Direct channel sampled counter value.
volatile uint32_t Indirect_cnt
 Indirect channel sample counter value.
volatile eEdge Last_Edge
 Last captured edge (caught through ITs, or deduced from callback).
volatile bool New_Sample
 New samples available.
struct  cfg

Detailed Description

PWM input capture structure.

Field Documentation

◆ CallbackTick

volatile uint32_t PWM_IC::CallbackTick

Last callback Tick (useful to ensure Freq & DutyCycle are still valid).

◆ cfg

struct PWM_IC::[struct].cfg PWM_IC::cfg

◆ Direct_cnt

volatile uint32_t PWM_IC::Direct_cnt

Direct channel sampled counter value.

◆ DutyCycle

uint32_t PWM_IC::DutyCycle

Duty Cycle Value.

◆ Frequency

uint32_t PWM_IC::Frequency

Frequency Value.

◆ Indirect_cnt

volatile uint32_t PWM_IC::Indirect_cnt

Indirect channel sample counter value.

◆ Last_Edge

volatile eEdge PWM_IC::Last_Edge

Last captured edge (caught through ITs, or deduced from callback).

◆ New_Sample

volatile bool PWM_IC::New_Sample

New samples available.

◆ Timeout

uint32_t PWM_IC::Timeout

No sample timeout.


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