pub struct Config {
pub version: String,
pub mcu_family: MCUFamily,
pub mcu_name: String,
pub rcc: RCC,
pub gpios: Vec<GpioPin>,
pub ports: Vec<char>,
pub spis: Vec<SPI>,
pub usarts: Vec<USART>,
pub i2cs: Vec<I2C>,
}
Expand description
A struct containing all the collected information from the ioc file
Fields§
§version: String
§mcu_family: MCUFamily
§mcu_name: String
§rcc: RCC
§gpios: Vec<GpioPin>
§ports: Vec<char>
§spis: Vec<SPI>
§usarts: Vec<USART>
§i2cs: Vec<I2C>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more