Lines Matching refs:DeviceName
57 flag_device: Option<DeviceName>,
65 pub enum DeviceName { enum
70 pub static ALL_DEVICES: &[DeviceName] = &[
71 DeviceName::Stm32f4,
72 DeviceName::K64f,
73 DeviceName::K64fBig,
74 DeviceName::K64fMulti,
75 DeviceName::Nrf52840,
76 DeviceName::Nrf52840SpiFlash,
77 DeviceName::Nrf52840UnequalSlots,
78 DeviceName::Nrf52840UnequalSlotsLargerSlot1,
81 impl fmt::Display for DeviceName { implementation
84 DeviceName::Stm32f4 => "stm32f4", in fmt()
85 DeviceName::K64f => "k64f", in fmt()
86 DeviceName::K64fBig => "k64fbig", in fmt()
87 DeviceName::K64fMulti => "k64fmulti", in fmt()
88 DeviceName::Nrf52840 => "nrf52840", in fmt()
89 DeviceName::Nrf52840SpiFlash => "Nrf52840SpiFlash", in fmt()
90 DeviceName::Nrf52840UnequalSlots => "Nrf52840UnequalSlots", in fmt()
91 DeviceName::Nrf52840UnequalSlotsLargerSlot1 => "Nrf52840UnequalSlotsLargerSlot1", in fmt()
188 pub fn run_single(&mut self, device: DeviceName, align: usize, erased_val: u8) { in run_single() argument