Type Alias atsame54n::gmac::wol::R

source ·
pub type R = R<WOL_SPEC>;
Expand description

Register WOL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ip(&self) -> IP_R

Bits 0:15 - IP address

source

pub fn mag(&self) -> MAG_R

Bit 16 - Event enable

source

pub fn arp(&self) -> ARP_R

Bit 17 - LAN ARP req

source

pub fn sa1(&self) -> SA1_R

Bit 18 - WOL specific address reg 1

source

pub fn mti(&self) -> MTI_R

Bit 19 - WOL LAN multicast