Commit Graph

10 Commits

Author SHA1 Message Date
c4358a7c28 Cosmetic fix in RCC 2024-11-03 22:28:53 +01:00
99f3bb79c3 Fix rcc_configure failing silently
The function being so important, any failure should be fatal
2024-11-03 22:28:00 +01:00
4df0ba5c6a Fix RCC's speed preset not working in release
Since rcc_configure should always be called before anything else, short timing
depends on hard coded loops. These are too fast in release...
2024-11-03 22:23:26 +01:00
a0dadf166d Fix rcc's timer frequency being 10x too low 2024-10-21 17:03:03 +02:00
6ab59f1545 Add timer clocks to rcc's clock frequencies 2024-08-30 22:23:24 +02:00
507f1e6863 Move rtc control to new BKP module
RCC's BCDR register has been moved to the BKP module since it is part of
the backup circuit and thus also aboeys some restrictions access-wise
2024-07-27 20:11:51 +02:00
b37eb1dd6e Add RTC configuration to RCC module 2024-07-27 14:17:58 +02:00
699569ec99 Add LSI configuration function to RCC 2024-07-16 21:50:01 +02:00
5e4d87474a Fix major reg bitfield issue
A while back, macros had to be put in place to avoid letting the
compiler directly use the bitfields. This was necessary because the
compiler used strb instruction which only write bytes. On the AHB bus,
byte writes are transformed into word writes by repeating the byte,
which caused mayhem in the registers. After a lot of research, turns out
the packed attribute stops the compiler from does optimal (word) writes
and isn't needed anyway. Removing them fixes the issue
2024-07-10 23:16:49 +02:00
a7099d5dfd Rename drivers folder to drv 2023-09-21 20:42:16 +02:00