aboutsummaryrefslogtreecommitdiff
path: root/03-refactor/include/rcc.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-24 00:19:51 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-24 00:20:01 -0700
commit109cdf120ea85f46d664e77c44ea2a311fd49ba2 (patch)
tree67350219afd13ce0b02111b6af2aa936bb7c9ebb /03-refactor/include/rcc.h
parent80360c4b8361320b726897c86ee13f9b4caf004a (diff)
downloadstm32l4-109cdf120ea85f46d664e77c44ea2a311fd49ba2.tar.gz
stm32l4-109cdf120ea85f46d664e77c44ea2a311fd49ba2.tar.bz2
stm32l4-109cdf120ea85f46d664e77c44ea2a311fd49ba2.zip
Small changes in styling to separate bits by octets.
Diffstat (limited to '03-refactor/include/rcc.h')
-rw-r--r--03-refactor/include/rcc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/03-refactor/include/rcc.h b/03-refactor/include/rcc.h
index 827d66f..3c55e67 100644
--- a/03-refactor/include/rcc.h
+++ b/03-refactor/include/rcc.h
@@ -32,25 +32,23 @@ typedef struct {
bits_t msipllen:1; /* Enabled/disable the PLL part of MSI. */
bits_t msirgsel:1; /* MSI clock range selection. */
bits_t msirange:4; /* MSI range. */
+
bits_t hsion:1; /* Enable the HSI16 clock. */
bits_t hsikeron:1; /* Force the HSI16 ON even in stop modes. */
bits_t hsirdy:1; /* Is the hsi ready? */
bits_t hsiasfs:1; /* HSI automatic start from STOP. */
-
RESERVED(4);
bits_t hseon:1; /* Enable the HSE. */
bits_t hserdy:1; /* Is the HSE ready? */
bits_t hsebyp:1; /* Use an external HSE. */
bits_t csson:1; /* Clock security system enabled. */
-
RESERVED(4);
bits_t pllon:1; /* Enable the main PLL. */
bits_t pllrdy:1; /* Is the PLL ready? */
bits_t pllsai1on:1; /* Enable the SAI1 PLL. */
bits_t pllsai1rdy:1; /* Enable the SAI1 PLL. */
-
RESERVED(4);
} PACKED;
} __IO c;