defmt and debug feature for PAC

This commit is contained in:
2025-02-14 16:34:26 +01:00
parent 3fe3b833a6
commit 3b4dd9d5c3
72 changed files with 76 additions and 4 deletions

View File

@ -3,8 +3,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![no_std]
// Manually inserted.
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
use core::marker::PhantomData;
use core::ops::Deref;
#[doc = r"Number available in the NVIC for configuring priority"]
@ -467,6 +465,7 @@ pub static __INTERRUPTS: [Vector; 196] = [
Vector { _handler: TXEV },
];
#[doc = r"Enumeration of all the interrupts."]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[repr(u16)]
pub enum Interrupt {