Type Alias gd32f1::gd32f190::opa_ivref::opa_bt::R

source ·
pub type R = R<OpaBtSpec>;
Expand description

Register OPA_BT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn oa0_trim_low(&self) -> Oa0TrimLowR

Bits 0:4 - OPA0, normal mode 5-bit offset trim value for PMOS pairs

source

pub fn oa0_trim_high(&self) -> Oa0TrimHighR

Bits 5:9 - OPA0, normal mode 5-bit offset trim value for NMOS pairs

source

pub fn oa1_trim_low(&self) -> Oa1TrimLowR

Bits 10:14 - OPA1, normal mode 5-bit offset trim value for PMOS pairs

source

pub fn oa1_trim_high(&self) -> Oa1TrimHighR

Bits 15:19 - OPA1, normal mode 5-bit offset trim value for NMOS pairs

source

pub fn oa2_trim_low(&self) -> Oa2TrimLowR

Bits 20:24 - OPA2, normal mode 5-bit offset trim value for PMOS pairs

source

pub fn oa2_trim_high(&self) -> Oa2TrimHighR

Bits 25:29 - OPA2, normal mode 5-bit offset trim value for NMOS pairs

source

pub fn ot_user(&self) -> OtUserR

Bit 31 - user programmed trimming value