[][src]Type Definition k210_pac::spi0::ctrlr0::WORK_MODE_R

type WORK_MODE_R = R<u8, WORK_MODE_A>;

Reader of field work_mode

Methods

impl WORK_MODE_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is MODE0

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

Checks if the value of the field is MODE1

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

Checks if the value of the field is MODE2

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

Checks if the value of the field is MODE3