[][src]Type Definition nrf52832_pac::saadc::ch::config::GAIN_R

type GAIN_R = R<u8, GAIN_A>;

Reader of field GAIN

Methods

impl GAIN_R[src]

pub fn variant(&self) -> GAIN_A[src]

Get enumerated values variant

pub fn is_gain1_6(&self) -> bool[src]

Checks if the value of the field is GAIN1_6

pub fn is_gain1_5(&self) -> bool[src]

Checks if the value of the field is GAIN1_5

pub fn is_gain1_4(&self) -> bool[src]

Checks if the value of the field is GAIN1_4

pub fn is_gain1_3(&self) -> bool[src]

Checks if the value of the field is GAIN1_3

pub fn is_gain1_2(&self) -> bool[src]

Checks if the value of the field is GAIN1_2

pub fn is_gain1(&self) -> bool[src]

Checks if the value of the field is GAIN1

pub fn is_gain2(&self) -> bool[src]

Checks if the value of the field is GAIN2

pub fn is_gain4(&self) -> bool[src]

Checks if the value of the field is GAIN4