[][src]Type Definition stm32l0::stm32l0x2::flash::optr::RDPROT_R

type RDPROT_R = R<u8, RDPROT_A>;

Reader of field RDPROT

Methods

impl RDPROT_R[src]

pub fn variant(&self) -> Variant<u8, RDPROT_A>[src]

Get enumerated values variant

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

Checks if the value of the field is LEVEL0

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

Checks if the value of the field is LEVEL1

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

Checks if the value of the field is LEVEL2