[−][src]Module msp430fr2x5x_hal::clock
Clock system for configuration of MCLK, SMCLK, and ACLK.
Once configuration is complete, Aclk
and Smclk
clock objects are returned. The clock
objects are used to set the clock sources on other peripherals.
Configuration of MCLK and SMCLK must occur, though SMCLK can be disabled. In that case, only
Aclk
is returned.
DCO with FLL is supported on MCLK for select frequencies. Supporting arbitrary frequencies on the DCO requires complex calibration routines not supported by the HAL.
Structs
Aclk | ACLK clock object |
ClockConfig | Builder object that configures system clocks |
MclkDefined | Typestate for |
NoClockDefined | Typestate for |
Smclk | SMCLK clock object |
SmclkDefined | Typestate for |
SmclkDisabled | Typestate for |
Enums
DcoclkFreqSel | Selectable DCOCLK frequencies when using factory trim settings. Actual frequencies may be slightly higher. |
MclkDiv | MCLK source divider |
SmclkDiv | SMCLK source divider. SMCLK directly derives from MCLK. SMCLK frequency is the combination of DIVM and DIVS out of selected clock source. |
Constants
REFOCLK | REFOCLK frequency |
VLOCLK | VLOCLK frequency |
Traits
Clock | Trait for configured clock objects |