#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
impl super::VOLT_LOAD_0 {
#[doc = r" Reads the contents of the register"]
#[inline]
pub fn read(&self) -> R {
R { bits: self.register.get() }
}
}
#[doc = r" Value of the field"]
pub struct VDDR_EXT_TP45R {
bits: u8,
}
impl VDDR_EXT_TP45R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bits(&self) -> u8 {
self.bits
}
}
#[doc = r" Value of the field"]
pub struct VDDR_EXT_TP25R {
bits: u8,
}
impl VDDR_EXT_TP25R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bits(&self) -> u8 {
self.bits
}
}
#[doc = r" Value of the field"]
pub struct VDDR_EXT_TP5R {
bits: u8,
}
impl VDDR_EXT_TP5R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bits(&self) -> u8 {
self.bits
}
}
#[doc = r" Value of the field"]
pub struct VDDR_EXT_TM15R {
bits: u8,
}
impl VDDR_EXT_TM15R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bits(&self) -> u8 {
self.bits
}
}
impl R {
#[doc = r" Value of the register as raw bits"]
#[inline]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bits 24:31 - Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior."]
#[inline]
pub fn vddr_ext_tp45(&self) -> VDDR_EXT_TP45R {
let bits = {
const MASK: u8 = 255;
const OFFSET: u8 = 24;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_EXT_TP45R { bits }
}
#[doc = "Bits 16:23 - Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior."]
#[inline]
pub fn vddr_ext_tp25(&self) -> VDDR_EXT_TP25R {
let bits = {
const MASK: u8 = 255;
const OFFSET: u8 = 16;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_EXT_TP25R { bits }
}
#[doc = "Bits 8:15 - Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior."]
#[inline]
pub fn vddr_ext_tp5(&self) -> VDDR_EXT_TP5R {
let bits = {
const MASK: u8 = 255;
const OFFSET: u8 = 8;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_EXT_TP5R { bits }
}
#[doc = "Bits 0:7 - Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior."]
#[inline]
pub fn vddr_ext_tm15(&self) -> VDDR_EXT_TM15R {
let bits = {
const MASK: u8 = 255;
const OFFSET: u8 = 0;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_EXT_TM15R { bits }
}
}