[][src]Type Definition nrf51::wdt::config::SLEEP_R

type SLEEP_R = R<bool, SLEEP_A>;

Reader of field SLEEP

Methods

impl SLEEP_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is PAUSE

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

Checks if the value of the field is RUN