Enum SeccrBksel
#[repr(u8)]pub enum SeccrBksel {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Bank1 is selected for Bank erase / sector erase / interrupt enable
B_0X1 = 1
Bank2 is selected for BER / SER
Implementations§
§impl SeccrBksel
impl SeccrBksel
pub const fn from_bits(val: u8) -> SeccrBksel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SeccrBksel
impl Clone for SeccrBksel
§fn clone(&self) -> SeccrBksel
fn clone(&self) -> SeccrBksel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<SeccrBksel> for u8
impl From<SeccrBksel> for u8
§fn from(val: SeccrBksel) -> u8
fn from(val: SeccrBksel) -> u8
Converts to this type from the input type.
§impl From<u8> for SeccrBksel
impl From<u8> for SeccrBksel
§fn from(val: u8) -> SeccrBksel
fn from(val: u8) -> SeccrBksel
Converts to this type from the input type.
§impl Ord for SeccrBksel
impl Ord for SeccrBksel
§impl PartialEq for SeccrBksel
impl PartialEq for SeccrBksel
§impl PartialOrd for SeccrBksel
impl PartialOrd for SeccrBksel
impl Copy for SeccrBksel
impl Eq for SeccrBksel
impl StructuralPartialEq for SeccrBksel
Auto Trait Implementations§
impl Freeze for SeccrBksel
impl RefUnwindSafe for SeccrBksel
impl Send for SeccrBksel
impl Sync for SeccrBksel
impl Unpin for SeccrBksel
impl UnwindSafe for SeccrBksel
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