[][src]Type Definition lpc55_pac::syscon::ahbclkctrl0::GPIO2_R

type GPIO2_R = R<bool, GPIO2_A>;
[]

Reader of field GPIO2

Implementations

impl GPIO2_R[src][]

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

Get enumerated values variant

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

Checks if the value of the field is DISABLE

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

Checks if the value of the field is ENABLE