Type Alias d1_pac::audio_codec::hp2::HEADPHONE_GAIN_R

source ·
pub type HEADPHONE_GAIN_R = FieldReader<u8, HEADPHONE_GAIN_A>;
Expand description

Field headphone_gain reader - Headphone Gain

Aliased Type§

struct HEADPHONE_GAIN_R { /* private fields */ }

Implementations§

source§

impl HEADPHONE_GAIN_R

source

pub fn variant(&self) -> HEADPHONE_GAIN_A

Get enumerated values variant

source

pub fn is_db0(&self) -> bool

Checks if the value of the field is DB0

source

pub fn is_db6(&self) -> bool

Checks if the value of the field is DB6

source

pub fn is_db12(&self) -> bool

Checks if the value of the field is DB12

source

pub fn is_db18(&self) -> bool

Checks if the value of the field is DB18

source

pub fn is_db24(&self) -> bool

Checks if the value of the field is DB24

source

pub fn is_db30(&self) -> bool

Checks if the value of the field is DB30

source

pub fn is_db36(&self) -> bool

Checks if the value of the field is DB36

source

pub fn is_db42(&self) -> bool

Checks if the value of the field is DB42