Type Alias d1_pac::audio_codec::ramp::GAP_STEP_R

source ·
pub type GAP_STEP_R = FieldReader<u8, GAP_STEP_A>;
Expand description

Field gap_step reader - Gap Step

Aliased Type§

struct GAP_STEP_R { /* private fields */ }

Implementations§

source§

impl GAP_STEP_R

source

pub fn variant(&self) -> GAP_STEP_A

Get enumerated values variant

source

pub fn is_ramp_step_x1(&self) -> bool

Checks if the value of the field is RAMP_STEP_X1

source

pub fn is_ramp_step_x2(&self) -> bool

Checks if the value of the field is RAMP_STEP_X2

source

pub fn is_ramp_step_x3(&self) -> bool

Checks if the value of the field is RAMP_STEP_X3

source

pub fn is_ramp_step_x4(&self) -> bool

Checks if the value of the field is RAMP_STEP_X4