Skip to content

Commit

Permalink
rcc: Add peripheral reset and control (#12)
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 authored Aug 12, 2024
1 parent 6aad4bc commit 96fa3b6
Show file tree
Hide file tree
Showing 2 changed files with 574 additions and 0 deletions.
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 96fa3b6

Please sign in to comment.