[−][src]Module msp430fr2x5x_hal::timer
Countdown timers
Configures the board's TimerB peripherals into periodic countdown timers. Each peripheral consists of a main timer and multiple "sub-timers". Sub-timers have their own thresholds and interrupts but share their countdowns with their main timer.
This module also contains traits used by other HAL modules that depend on TimerB, such as
Capture
and Pwm
.
Structs
CCR0 | Label for capture-compare register 0 |
CCR1 | Label for capture-compare register 1 |
CCR2 | Label for capture-compare register 2 |
CCR3 | Label for capture-compare register 3 |
CCR4 | Label for capture-compare register 4 |
CCR5 | Label for capture-compare register 5 |
CCR6 | Label for capture-compare register 6 |
SubTimer | Sub-timer associated with a main timer |
TBxIV | Interrupt vector register for determining which timer caused an ISR |
Timer | Main periodic countdown timer |
TimerConfig | Configuration object for the TimerB peripheral |
TimerParts3 | Main timer and sub-timers for timer peripherals with 3 capture-compare registers |
TimerParts7 | Main timer and sub-timers for timer peripherals with 7 capture-compare registers |
Enums
TimerDiv | Timer clock divider |
TimerExDiv | Timer expansion clock divider, applied on top of the normal clock divider |
TimerVector | Indicates which sub/main timer caused the interrupt to fire |
Traits
CapCmp | Trait indicating that the peripheral can be used as a sub-timer, PWM, or capture |
CapCmpTimer3 | Trait indicating that the peripheral has 3 capture compare registers |
CapCmpTimer7 | Trait indicating that the peripheral has 7 capture compare registers |
TimerPeriph | Trait indicating that the peripheral can be used as a timer |