[][src]Type Definition nrf52840_pac::power::ram::power::S2POWER_R

type S2POWER_R = R<bool, S2POWER_A>;

Reader of field S2POWER

Methods

impl S2POWER_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is OFF

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

Checks if the value of the field is ON