[][src]Type Definition nrf51::gpio::pin_cnf::PULL_R

type PULL_R = R<u8, PULL_A>;

Reader of field PULL

Methods

impl PULL_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is DISABLED

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

Checks if the value of the field is PULLDOWN

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

Checks if the value of the field is PULLUP