pub struct Enet { /* private fields */ }Expand description
ENET
Implementations§
Source§impl Enet
impl Enet
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn rmon_t_packets(self) -> Reg<RmonTPackets, R>
pub const fn rmon_t_packets(self) -> Reg<RmonTPackets, R>
Tx Packet Count Statistic Register
Sourcepub const fn rmon_t_bc_pkt(self) -> Reg<RmonTBcPkt, R>
pub const fn rmon_t_bc_pkt(self) -> Reg<RmonTBcPkt, R>
Tx Broadcast Packets Statistic Register
Sourcepub const fn rmon_t_mc_pkt(self) -> Reg<RmonTMcPkt, R>
pub const fn rmon_t_mc_pkt(self) -> Reg<RmonTMcPkt, R>
Tx Multicast Packets Statistic Register
Sourcepub const fn rmon_t_crc_align(self) -> Reg<RmonTCrcAlign, R>
pub const fn rmon_t_crc_align(self) -> Reg<RmonTCrcAlign, R>
Tx Packets with CRC/Align Error Statistic Register
Sourcepub const fn rmon_t_undersize(self) -> Reg<RmonTUndersize, R>
pub const fn rmon_t_undersize(self) -> Reg<RmonTUndersize, R>
Tx Packets Less Than Bytes and Good CRC Statistic Register
Sourcepub const fn rmon_t_oversize(self) -> Reg<RmonTOversize, R>
pub const fn rmon_t_oversize(self) -> Reg<RmonTOversize, R>
Tx Packets GT MAX_FL bytes and Good CRC Statistic Register
Sourcepub const fn rmon_t_frag(self) -> Reg<RmonTFrag, R>
pub const fn rmon_t_frag(self) -> Reg<RmonTFrag, R>
Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register
Sourcepub const fn rmon_t_jab(self) -> Reg<RmonTJab, R>
pub const fn rmon_t_jab(self) -> Reg<RmonTJab, R>
Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register
Sourcepub const fn rmon_t_col(self) -> Reg<RmonTCol, R>
pub const fn rmon_t_col(self) -> Reg<RmonTCol, R>
Tx Collision Count Statistic Register
Sourcepub const fn rmon_t_p64(self) -> Reg<RmonTP64, R>
pub const fn rmon_t_p64(self) -> Reg<RmonTP64, R>
Tx 64-Byte Packets Statistic Register
Sourcepub const fn rmon_t_p65to127(self) -> Reg<RmonTP65to127, R>
pub const fn rmon_t_p65to127(self) -> Reg<RmonTP65to127, R>
Tx 65- to 127-byte Packets Statistic Register
Sourcepub const fn rmon_t_p128to255(self) -> Reg<RmonTP128to255, R>
pub const fn rmon_t_p128to255(self) -> Reg<RmonTP128to255, R>
Tx 128- to 255-byte Packets Statistic Register
Sourcepub const fn rmon_t_p256to511(self) -> Reg<RmonTP256to511, R>
pub const fn rmon_t_p256to511(self) -> Reg<RmonTP256to511, R>
Tx 256- to 511-byte Packets Statistic Register
Sourcepub const fn rmon_t_p512to1023(self) -> Reg<RmonTP512to1023, R>
pub const fn rmon_t_p512to1023(self) -> Reg<RmonTP512to1023, R>
Tx 512- to 1023-byte Packets Statistic Register
Sourcepub const fn rmon_t_p1024to2047(self) -> Reg<RmonTP1024to2047, R>
pub const fn rmon_t_p1024to2047(self) -> Reg<RmonTP1024to2047, R>
Tx 1024- to 2047-byte Packets Statistic Register
Sourcepub const fn rmon_t_p_gte2048(self) -> Reg<RmonTPGte2048, R>
pub const fn rmon_t_p_gte2048(self) -> Reg<RmonTPGte2048, R>
Tx Packets Greater Than 2048 Bytes Statistic Register
Sourcepub const fn rmon_t_octets(self) -> Reg<RmonTOctets, R>
pub const fn rmon_t_octets(self) -> Reg<RmonTOctets, R>
Tx Octets Statistic Register
Sourcepub const fn ieee_t_frame_ok(self) -> Reg<IeeeTFrameOk, R>
pub const fn ieee_t_frame_ok(self) -> Reg<IeeeTFrameOk, R>
Frames Transmitted OK Statistic Register
Sourcepub const fn ieee_t_1col(self) -> Reg<IeeeT1col, R>
pub const fn ieee_t_1col(self) -> Reg<IeeeT1col, R>
Frames Transmitted with Single Collision Statistic Register
Sourcepub const fn ieee_t_mcol(self) -> Reg<IeeeTMcol, R>
pub const fn ieee_t_mcol(self) -> Reg<IeeeTMcol, R>
Frames Transmitted with Multiple Collisions Statistic Register
Sourcepub const fn ieee_t_def(self) -> Reg<IeeeTDef, R>
pub const fn ieee_t_def(self) -> Reg<IeeeTDef, R>
Frames Transmitted after Deferral Delay Statistic Register
Sourcepub const fn ieee_t_lcol(self) -> Reg<IeeeTLcol, R>
pub const fn ieee_t_lcol(self) -> Reg<IeeeTLcol, R>
Frames Transmitted with Late Collision Statistic Register
Sourcepub const fn ieee_t_excol(self) -> Reg<IeeeTExcol, R>
pub const fn ieee_t_excol(self) -> Reg<IeeeTExcol, R>
Frames Transmitted with Excessive Collisions Statistic Register
Sourcepub const fn ieee_t_macerr(self) -> Reg<IeeeTMacerr, R>
pub const fn ieee_t_macerr(self) -> Reg<IeeeTMacerr, R>
Frames Transmitted with Tx FIFO Underrun Statistic Register
Sourcepub const fn ieee_t_cserr(self) -> Reg<IeeeTCserr, R>
pub const fn ieee_t_cserr(self) -> Reg<IeeeTCserr, R>
Frames Transmitted with Carrier Sense Error Statistic Register
Sourcepub const fn ieee_t_sqe(self) -> Reg<IeeeTSqe, R>
pub const fn ieee_t_sqe(self) -> Reg<IeeeTSqe, R>
Reserved Statistic Register
Sourcepub const fn ieee_t_fdxfc(self) -> Reg<IeeeTFdxfc, R>
pub const fn ieee_t_fdxfc(self) -> Reg<IeeeTFdxfc, R>
Flow Control Pause Frames Transmitted Statistic Register
Sourcepub const fn ieee_t_octets_ok(self) -> Reg<IeeeTOctetsOk, R>
pub const fn ieee_t_octets_ok(self) -> Reg<IeeeTOctetsOk, R>
Octet Count for Frames Transmitted w/o Error Statistic Register
Sourcepub const fn rmon_r_packets(self) -> Reg<RmonRPackets, R>
pub const fn rmon_r_packets(self) -> Reg<RmonRPackets, R>
Rx Packet Count Statistic Register
Sourcepub const fn rmon_r_bc_pkt(self) -> Reg<RmonRBcPkt, R>
pub const fn rmon_r_bc_pkt(self) -> Reg<RmonRBcPkt, R>
Rx Broadcast Packets Statistic Register
Sourcepub const fn rmon_r_mc_pkt(self) -> Reg<RmonRMcPkt, R>
pub const fn rmon_r_mc_pkt(self) -> Reg<RmonRMcPkt, R>
Rx Multicast Packets Statistic Register
Sourcepub const fn rmon_r_crc_align(self) -> Reg<RmonRCrcAlign, R>
pub const fn rmon_r_crc_align(self) -> Reg<RmonRCrcAlign, R>
Rx Packets with CRC/Align Error Statistic Register
Sourcepub const fn rmon_r_undersize(self) -> Reg<RmonRUndersize, R>
pub const fn rmon_r_undersize(self) -> Reg<RmonRUndersize, R>
Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register
Sourcepub const fn rmon_r_oversize(self) -> Reg<RmonROversize, R>
pub const fn rmon_r_oversize(self) -> Reg<RmonROversize, R>
Rx Packets Greater Than MAX_FL and Good CRC Statistic Register
Sourcepub const fn rmon_r_frag(self) -> Reg<RmonRFrag, R>
pub const fn rmon_r_frag(self) -> Reg<RmonRFrag, R>
Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register
Sourcepub const fn rmon_r_jab(self) -> Reg<RmonRJab, R>
pub const fn rmon_r_jab(self) -> Reg<RmonRJab, R>
Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register
Sourcepub const fn rmon_r_p64(self) -> Reg<RmonRP64, R>
pub const fn rmon_r_p64(self) -> Reg<RmonRP64, R>
Rx 64-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p65to127(self) -> Reg<RmonRP65to127, R>
pub const fn rmon_r_p65to127(self) -> Reg<RmonRP65to127, R>
Rx 65- to 127-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p128to255(self) -> Reg<RmonRP128to255, R>
pub const fn rmon_r_p128to255(self) -> Reg<RmonRP128to255, R>
Rx 128- to 255-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p256to511(self) -> Reg<RmonRP256to511, R>
pub const fn rmon_r_p256to511(self) -> Reg<RmonRP256to511, R>
Rx 256- to 511-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p512to1023(self) -> Reg<RmonRP512to1023, R>
pub const fn rmon_r_p512to1023(self) -> Reg<RmonRP512to1023, R>
Rx 512- to 1023-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p1024to2047(self) -> Reg<RmonRP1024to2047, R>
pub const fn rmon_r_p1024to2047(self) -> Reg<RmonRP1024to2047, R>
Rx 1024- to 2047-Byte Packets Statistic Register
Sourcepub const fn rmon_r_p_gte2048(self) -> Reg<RmonRPGte2048, R>
pub const fn rmon_r_p_gte2048(self) -> Reg<RmonRPGte2048, R>
Rx Packets Greater than 2048 Bytes Statistic Register
Sourcepub const fn rmon_r_octets(self) -> Reg<RmonROctets, R>
pub const fn rmon_r_octets(self) -> Reg<RmonROctets, R>
Rx Octets Statistic Register
Sourcepub const fn ieee_r_drop(self) -> Reg<IeeeRDrop, R>
pub const fn ieee_r_drop(self) -> Reg<IeeeRDrop, R>
Frames not Counted Correctly Statistic Register
Sourcepub const fn ieee_r_frame_ok(self) -> Reg<IeeeRFrameOk, R>
pub const fn ieee_r_frame_ok(self) -> Reg<IeeeRFrameOk, R>
Frames Received OK Statistic Register
Sourcepub const fn ieee_r_crc(self) -> Reg<IeeeRCrc, R>
pub const fn ieee_r_crc(self) -> Reg<IeeeRCrc, R>
Frames Received with CRC Error Statistic Register
Sourcepub const fn ieee_r_align(self) -> Reg<IeeeRAlign, R>
pub const fn ieee_r_align(self) -> Reg<IeeeRAlign, R>
Frames Received with Alignment Error Statistic Register
Sourcepub const fn ieee_r_macerr(self) -> Reg<IeeeRMacerr, R>
pub const fn ieee_r_macerr(self) -> Reg<IeeeRMacerr, R>
Receive FIFO Overflow Count Statistic Register
Sourcepub const fn ieee_r_fdxfc(self) -> Reg<IeeeRFdxfc, R>
pub const fn ieee_r_fdxfc(self) -> Reg<IeeeRFdxfc, R>
Flow Control Pause Frames Received Statistic Register
Sourcepub const fn ieee_r_octets_ok(self) -> Reg<IeeeROctetsOk, R>
pub const fn ieee_r_octets_ok(self) -> Reg<IeeeROctetsOk, R>
Octet Count for Frames Received without Error Statistic Register