Skip to content

Commit

Permalink
rcc: Add peripheral reset and control
Browse files Browse the repository at this point in the history
Adds helper functions for enabling, resetting and disabling peripherals via the RCC control interface.

Note: This also disables builds for the STM32H56/7x processors as the STM32H5 PAC crate does not provide the necessary definitions for the RCC at this time.
  • Loading branch information
astapleton committed Jun 7, 2024
1 parent 1b4f094 commit 9ec0ac4
Show file tree
Hide file tree
Showing 3 changed files with 549 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- stable
mcu:
- stm32h503
- stm32h562
- stm32h563
- stm32h573
# - stm32h562
# - stm32h563
# - stm32h573
env: # Peripheral Feature flags
FLAGS: rt

Expand Down
1 change: 1 addition & 0 deletions src/rcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::time::Hertz;
use log::debug;

mod core_clocks;
mod rec;
mod reset_reason;

pub use core_clocks::CoreClocks;
Expand Down
Loading

0 comments on commit 9ec0ac4

Please sign in to comment.