Commit Graph

8 Commits

Author SHA1 Message Date
c1b3f0d073 Replace rcc's bitfields with macros
Bitfields can use byte acces, which the bus doesn't permit. When that happens,
the bus adds extra bytes to form a word, modifying fields that shouldn't be.
Bitfields can be kept for debug and read, but writes must be done though masks
2023-07-05 22:23:28 +02:00
16fbf892ba Fix bitwise negations using the boolean operator 2023-05-08 20:52:18 +02:00
c10ef4d2f1 Merge peripheral control functions
The functions are very simple and their number complicates the API more
than anything, so we better merge them
2023-03-31 23:32:43 +02:00
2d83ce9f05 Implement AHB peripherals control functions 2023-03-31 23:22:11 +02:00
ca935a7650 Rework comments
Avoid repitions between comments and code. Additionnal usage information
can be added as header comment and additionnal technical information can
be added in the source file
2023-03-31 14:17:39 +02:00
a101f07009 Implement peripheral control functions 2023-03-31 14:04:36 +02:00
3a768d9190 Implement Flash configuration 2023-03-26 21:07:37 +02:00
dd6d5fbdd1 Implement RCC's clock configuration
For now, flash configuration is hard-coded. This will fixed in future
commits
2023-03-22 23:30:29 +01:00