[][src]Type Definition nrf51::lpcomp::anadetect::ANADETECT_R

type ANADETECT_R = R<u8, ANADETECT_A>;

Reader of field ANADETECT

Methods

impl ANADETECT_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is CROSS

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

Checks if the value of the field is UP

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

Checks if the value of the field is DOWN