Type Alias avr_device::atmega2560::cpu::xmcra::SRW1_W

source ·
pub type SRW1_W<'a, const O: u8> = FieldWriterSafe<'a, u8, XMCRA_SPEC, u8, SRW1_A, 2, O>;
Expand description

Field SRW1 writer - Wait state select bit upper page

Aliased Type§

struct SRW1_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> SRW1_W<'a, O>

source

pub fn val_0x00(self) -> &'a mut W

No wait-states

source

pub fn val_0x01(self) -> &'a mut W

Wait one cycle during read/write strobe

source

pub fn val_0x02(self) -> &'a mut W

Wait two cycles during read/write strobe

source

pub fn val_0x03(self) -> &'a mut W

Wait two cycles during read/write and wait one cycle before driving out new address