diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-03-26 15:19:53 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:54 -0400 |
commit | 382da37cda44204331d57939c596d768cbd0e188 (patch) | |
tree | 1b3cd9ed2fecc4849440bd4070e6f07d10ee0070 /libmaple/include | |
parent | 117a6f118adb4540866beb5aba8afd8f98da139e (diff) | |
download | librambutan-382da37cda44204331d57939c596d768cbd0e188.tar.gz librambutan-382da37cda44204331d57939c596d768cbd0e188.zip |
RCC: Add rcc_is_clk_on().
This is a convenience function for checking if a clock line is on.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/rcc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/rcc.h b/libmaple/include/libmaple/rcc.h index 2c8776b..9042391 100644 --- a/libmaple/include/libmaple/rcc.h +++ b/libmaple/include/libmaple/rcc.h @@ -106,6 +106,7 @@ void rcc_configure_pll(rcc_pll_cfg *pll_cfg); void rcc_turn_on_clk(rcc_clk clock); void rcc_turn_off_clk(rcc_clk clock); +int rcc_is_clk_on(rcc_clk clock); int rcc_is_clk_ready(rcc_clk clock); /* Peripheral clock lines and clock domains. */ |