1 Commits

Author SHA1 Message Date
2b9f0a7d53 Bootloader and Flashloader App
Some checks failed
Rust/va416xx-rs/pipeline/pr-main There was a failure building this commit
2024-09-12 19:33:21 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ pub fn enable_ram1_scrub(syscfg: &mut pac::Sysconfig, counter_reset: u16) {
} }
/// This function enables the SBE related interrupts. The user should also provide a /// This function enables the SBE related interrupts. The user should also provide a
/// [pac::EDAC_SBE] ISR and use [clear_sbe_irq] inside that ISR at the very least. /// `EDAC_SBE` ISR and use [clear_sbe_irq] inside that ISR at the very least.
#[inline(always)] #[inline(always)]
pub fn enable_sbe_irq() { pub fn enable_sbe_irq() {
unsafe { unsafe {
@ -31,7 +31,7 @@ pub fn enable_sbe_irq() {
} }
/// This function enables the SBE related interrupts. The user should also provide a /// This function enables the SBE related interrupts. The user should also provide a
/// [pac::EDAC_MBE] ISR and use [clear_mbe_irq] inside that ISR at the very least. /// `EDAC_MBE` ISR and use [clear_mbe_irq] inside that ISR at the very least.
#[inline(always)] #[inline(always)]
pub fn enable_mbe_irq() { pub fn enable_mbe_irq() {
unsafe { unsafe {
@ -39,7 +39,7 @@ pub fn enable_mbe_irq() {
} }
} }
/// This function should be called in the user provided [pac::EDAC_SBE] interrupt-service routine /// This function should be called in the user provided `EDAC_SBE` interrupt-service routine
/// to clear the SBE related interrupts. /// to clear the SBE related interrupts.
#[inline(always)] #[inline(always)]
pub fn clear_sbe_irq() { pub fn clear_sbe_irq() {
@ -52,7 +52,7 @@ pub fn clear_sbe_irq() {
}); });
} }
/// This function should be called in the user provided [pac::EDAC_MBE] interrupt-service routine /// This function should be called in the user provided `EDAC_MBE` interrupt-service routine
/// to clear the MBE related interrupts. /// to clear the MBE related interrupts.
#[inline(always)] #[inline(always)]
pub fn clear_mbe_irq() { pub fn clear_mbe_irq() {

View File

@ -50,7 +50,7 @@ pub struct Nvm {
} }
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", defmt::Format)] #[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct VerifyError { pub struct VerifyError {
addr: u32, addr: u32,
found: u8, found: u8,