diff options
author | Karl Palsson <karlp@etactica.com> | 2016-08-16 20:46:50 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2016-08-19 02:41:04 +0300 |
commit | 4eb51ecaea7c3215f8da56b5ed10867a80d2ef18 (patch) | |
tree | 67d074dbb8315d4629370a73a2d5a325da3be649 /include/libopencm3/stm32/common/rcc_common_all.h | |
parent | 29277adbe3f48dcfab4611cb685a28fcd01aa2e1 (diff) |
stm32: rcc: rcc_wait_for_osc_ready is always available
Move the prototype to the common_all header and include documentation.
Diffstat (limited to 'include/libopencm3/stm32/common/rcc_common_all.h')
-rw-r--r-- | include/libopencm3/stm32/common/rcc_common_all.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/common/rcc_common_all.h b/include/libopencm3/stm32/common/rcc_common_all.h index 96ea5e0a..7a9fa520 100644 --- a/include/libopencm3/stm32/common/rcc_common_all.h +++ b/include/libopencm3/stm32/common/rcc_common_all.h @@ -51,6 +51,13 @@ void rcc_periph_reset_release(enum rcc_periph_rst rst); void rcc_set_mco(uint32_t mcosrc); +/** + * Wait for Oscillator Ready. + * Block until the hardware indicates that the Oscillator is ready. + * @param osc Oscillator ID + */ +void rcc_wait_for_osc_ready(enum rcc_osc osc); + END_DECLS /**@}*/ |