diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2018-01-16 00:02:56 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2018-01-16 00:02:56 -0700 |
commit | 92c50db2b05818157d46e09f4dec4fa1e96f960b (patch) | |
tree | c264b9d183e9c69fb8434712347a5680a41edf3a /system-clock/include/common.h | |
parent | 6d3197d768bf13c1402c1305050ea355f8c79fec (diff) | |
download | stm32l4-92c50db2b05818157d46e09f4dec4fa1e96f960b.tar.gz stm32l4-92c50db2b05818157d46e09f4dec4fa1e96f960b.tar.bz2 stm32l4-92c50db2b05818157d46e09f4dec4fa1e96f960b.zip |
able to set the clock speed in MHz.
Diffstat (limited to 'system-clock/include/common.h')
-rw-r--r-- | system-clock/include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system-clock/include/common.h b/system-clock/include/common.h index f58f179..6fc701c 100644 --- a/system-clock/include/common.h +++ b/system-clock/include/common.h @@ -9,5 +9,6 @@ #define bool int #define PACKED __attribute__((packed)) +#define BIT(n) (1 << (n)) #endif /* COMMON_H */ |