#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
impl super::VOLT_TRIM {
#[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 RESERVED3R {
bits: u8,
}
impl RESERVED3R {
#[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_TRIM_HHR {
bits: u8,
}
impl VDDR_TRIM_HHR {
#[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 RESERVED2R {
bits: u8,
}
impl RESERVED2R {
#[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_TRIM_HR {
bits: u8,
}
impl VDDR_TRIM_HR {
#[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 RESERVED1R {
bits: u8,
}
impl RESERVED1R {
#[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_TRIM_SLEEP_HR {
bits: u8,
}
impl VDDR_TRIM_SLEEP_HR {
#[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 RESERVED0R {
bits: u8,
}
impl RESERVED0R {
#[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 TRIMBOD_HR {
bits: u8,
}
impl TRIMBOD_HR {
#[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 29:31 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved3(&self) -> RESERVED3R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 29;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED3R { bits }
}
#[doc = "Bits 24:28 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn vddr_trim_hh(&self) -> VDDR_TRIM_HHR {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 24;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_TRIM_HHR { bits }
}
#[doc = "Bits 21:23 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved2(&self) -> RESERVED2R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 21;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED2R { bits }
}
#[doc = "Bits 16:20 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn vddr_trim_h(&self) -> VDDR_TRIM_HR {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 16;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_TRIM_HR { bits }
}
#[doc = "Bits 13:15 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved1(&self) -> RESERVED1R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 13;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED1R { bits }
}
#[doc = "Bits 8:12 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn vddr_trim_sleep_h(&self) -> VDDR_TRIM_SLEEP_HR {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 8;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_TRIM_SLEEP_HR { bits }
}
#[doc = "Bits 5:7 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved0(&self) -> RESERVED0R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 5;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED0R { bits }
}
#[doc = "Bits 0:4 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn trimbod_h(&self) -> TRIMBOD_HR {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 0;
((self.bits >> OFFSET) & MASK as u32) as u8
};
TRIMBOD_HR { bits }
}
}