gd32e2-hal 0.26.0

HAL for the GD32E23x series (Cortex-M23), currently the GD32E230
Documentation
//! The chip's two watchdogs.
//!
//! Both reset the chip unless fed in time, and neither can be stopped once
//! started. What separates them is what they can catch:
//!
//! - [`Fwdgt`] runs off IRC40K, independent of the system clock, and spans
//!   milliseconds to 26 seconds. It notices that code stopped feeding it —
//!   nothing more.
//! - [`Wwdgt`] runs off `PCLK1` and spans tens of milliseconds. Feeding it too
//!   early is a fault as well, so it also notices code that kept running but
//!   lost its pace, and it can raise an interrupt one tick before the reset.
//!
//! A watchdog that has to survive a broken clock tree is [`Fwdgt`]; one that
//! checks the rhythm of a tight control loop is [`Wwdgt`].
//!
//! ```ignore
//! let mut watchdog = dp.fwdgt.constrain(&mut rcu).start_timeout(2.secs());
//! loop {
//!     watchdog.feed();
//! }
//! ```

mod fwdgt;
mod wwdgt;

pub use fwdgt::*;
pub use wwdgt::*;