atsam4e16c_pac/gmac/
orlo.rs1#[doc = "Register `ORLO` reader"]
2pub struct R(crate::R<ORLO_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<ORLO_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<ORLO_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<ORLO_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Field `RXO` reader - Received Octets"]
17pub type RXO_R = crate::FieldReader<u32, u32>;
18impl R {
19 #[doc = "Bits 0:31 - Received Octets"]
20 #[inline(always)]
21 pub fn rxo(&self) -> RXO_R {
22 RXO_R::new(self.bits)
23 }
24}
25#[doc = "Octets Received \\[31:0\\]
26Received\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [orlo](index.html) module"]
27pub struct ORLO_SPEC;
28impl crate::RegisterSpec for ORLO_SPEC {
29 type Ux = u32;
30}
31#[doc = "`read()` method returns [orlo::R](R) reader structure"]
32impl crate::Readable for ORLO_SPEC {
33 type Reader = R;
34}
35#[doc = "`reset()` method sets ORLO to value 0"]
36impl crate::Resettable for ORLO_SPEC {
37 const RESET_VALUE: Self::Ux = 0;
38}