Type Alias atsame54n::gmac::man::W

source ·
pub type W = W<MAN_SPEC>;
Expand description

Register MAN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn data(&mut self) -> DATA_W<'_, MAN_SPEC, 0>

Bits 0:15 - PHY Data

source

pub fn wtn(&mut self) -> WTN_W<'_, MAN_SPEC, 16>

Bits 16:17 - Write Ten

source

pub fn rega(&mut self) -> REGA_W<'_, MAN_SPEC, 18>

Bits 18:22 - Register Address

source

pub fn phya(&mut self) -> PHYA_W<'_, MAN_SPEC, 23>

Bits 23:27 - PHY Address

source

pub fn op(&mut self) -> OP_W<'_, MAN_SPEC, 28>

Bits 28:29 - Operation

source

pub fn cltto(&mut self) -> CLTTO_W<'_, MAN_SPEC, 30>

Bit 30 - Clause 22 Operation

source

pub fn wzo(&mut self) -> WZO_W<'_, MAN_SPEC, 31>

Bit 31 - Write ZERO

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual