Functions | |
void | xosc_init (void) |
Initialise the crystal oscillator system. More... | |
void | xosc_disable (void) |
Disable the Crystal oscillator. More... | |
void | xosc_dormant (void) |
Set the crystal oscillator system to dormant. More... | |
Crystal Oscillator (XOSC) API
void xosc_disable | ( | void | ) |
Disable the Crystal oscillator.
Turns off the crystal oscillator source, and waits for it to become unstable
void xosc_dormant | ( | void | ) |
Set the crystal oscillator system to dormant.
Turns off the crystal oscillator until it is woken by an interrupt. This will block and hence the entire system will stop, until an interrupt wakes it up. This function will continue to block until the oscillator becomes stable after its wakeup.
void xosc_init | ( | void | ) |
Initialise the crystal oscillator system.
This function will block until the crystal oscillator has stabilised.