Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
TivaDCC< HW >::Timing Struct Reference

Structure for supporting bit timing. More...

#include <TivaDCC.hxx>

Public Attributes

uint32_t interval_period
 In clock cycles: period of the interval timer.
 
uint32_t period
 In clock cycles: period of the PWM timer.
 
uint32_t transition_a
 When to transition output A; must be within the period.
 
uint32_t transition_b
 When to transition output B; must be within the period.
 
uint16_t spread_min = 0
 How many ticks (minimum) we can add to the period and transition for spectrum spreading.
 
uint16_t spread_max = 0
 How many ticks (maximum) we can add to the period and transition for spectrum spreading.
 

Detailed Description

template<class HW>
struct TivaDCC< HW >::Timing

Structure for supporting bit timing.

Definition at line 169 of file TivaDCC.hxx.

Member Data Documentation

◆ interval_period

template<class HW >
uint32_t TivaDCC< HW >::Timing::interval_period

In clock cycles: period of the interval timer.

Definition at line 171 of file TivaDCC.hxx.

◆ period

template<class HW >
uint32_t TivaDCC< HW >::Timing::period

In clock cycles: period of the PWM timer.

Definition at line 173 of file TivaDCC.hxx.

◆ spread_max

template<class HW >
uint16_t TivaDCC< HW >::Timing::spread_max = 0

How many ticks (maximum) we can add to the period and transition for spectrum spreading.

Definition at line 183 of file TivaDCC.hxx.

◆ spread_min

template<class HW >
uint16_t TivaDCC< HW >::Timing::spread_min = 0

How many ticks (minimum) we can add to the period and transition for spectrum spreading.

Definition at line 180 of file TivaDCC.hxx.

◆ transition_a

template<class HW >
uint32_t TivaDCC< HW >::Timing::transition_a

When to transition output A; must be within the period.

Definition at line 175 of file TivaDCC.hxx.

◆ transition_b

template<class HW >
uint32_t TivaDCC< HW >::Timing::transition_b

When to transition output B; must be within the period.

Definition at line 177 of file TivaDCC.hxx.


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