summaryrefslogtreecommitdiff
path: root/cortex_m/critical_section.h
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-20 13:23:29 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:40:29 +0100
commit24507af1a99f66ded76e8796de5bae35c7c0b567 (patch)
tree17ee7d7df7b7dbb8fe3ffdaa504b5107a1f27ce4 /cortex_m/critical_section.h
parent760a7f3526450e94409cbcb6a749070b0e879fce (diff)
stm32_rcc: allow aliases for enables.
By flipping the name/number definition, we can define aliases such as ADC and ADC1, or FMC/FSMC for the same bits, making it easier to have code that both matches reference manuals, and also code that matches between lines. runtime tested on WB, compile tested on F3. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'cortex_m/critical_section.h')
0 files changed, 0 insertions, 0 deletions