#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
impl super::LDO_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 RESERVED4R {
bits: u8,
}
impl RESERVED4R {
#[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_SLEEPR {
bits: u8,
}
impl VDDR_TRIM_SLEEPR {
#[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 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 GLDO_CURSRCR {
bits: u8,
}
impl GLDO_CURSRCR {
#[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 ITRIM_DIGLDO_LOADR {
bits: u8,
}
impl ITRIM_DIGLDO_LOADR {
#[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 ITRIM_UDIGLDOR {
bits: u8,
}
impl ITRIM_UDIGLDOR {
#[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 VTRIM_DELTAR {
bits: u8,
}
impl VTRIM_DELTAR {
#[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 reserved4(&self) -> RESERVED4R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 29;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED4R { bits }
}
#[doc = "Bits 24:28 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn vddr_trim_sleep(&self) -> VDDR_TRIM_SLEEPR {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 24;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VDDR_TRIM_SLEEPR { bits }
}
#[doc = "Bits 19:23 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved3(&self) -> RESERVED3R {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 19;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED3R { bits }
}
#[doc = "Bits 16:18 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn gldo_cursrc(&self) -> GLDO_CURSRCR {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 16;
((self.bits >> OFFSET) & MASK as u32) as u8
};
GLDO_CURSRCR { bits }
}
#[doc = "Bits 13:15 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved2(&self) -> RESERVED2R {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 13;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED2R { bits }
}
#[doc = "Bits 11:12 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn itrim_digldo_load(&self) -> ITRIM_DIGLDO_LOADR {
let bits = {
const MASK: u8 = 3;
const OFFSET: u8 = 11;
((self.bits >> OFFSET) & MASK as u32) as u8
};
ITRIM_DIGLDO_LOADR { bits }
}
#[doc = "Bits 8:10 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn itrim_udigldo(&self) -> ITRIM_UDIGLDOR {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 8;
((self.bits >> OFFSET) & MASK as u32) as u8
};
ITRIM_UDIGLDOR { bits }
}
#[doc = "Bits 3:7 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn reserved1(&self) -> RESERVED1R {
let bits = {
const MASK: u8 = 31;
const OFFSET: u8 = 3;
((self.bits >> OFFSET) & MASK as u32) as u8
};
RESERVED1R { bits }
}
#[doc = "Bits 0:2 - Internal. Only to be used through TI provided API."]
#[inline]
pub fn vtrim_delta(&self) -> VTRIM_DELTAR {
let bits = {
const MASK: u8 = 7;
const OFFSET: u8 = 0;
((self.bits >> OFFSET) & MASK as u32) as u8
};
VTRIM_DELTAR { bits }
}
}