pub enum PC5R {
Show 25 variants
VALUE1,
VALUE2,
VALUE3,
VALUE4,
VALUE5,
VALUE6,
VALUE7,
VALUE8,
VALUE9,
VALUE10,
VALUE11,
VALUE12,
VALUE13,
VALUE14,
VALUE15,
VALUE16,
VALUE17,
VALUE18,
VALUE19,
VALUE20,
VALUE21,
VALUE22,
VALUE23,
VALUE24,
_Reserved(u8),
}
Expand description
Possible values of the field PC5
Variants§
VALUE1
Input - No internal pull device active
VALUE2
Input - Internal pull-down device active
VALUE3
Input - Internal pull-up device active
VALUE4
Input - No internal pull device, Pn_OUTx = input value
VALUE5
Input inverted - No internal pull device active
VALUE6
Input inverted - Internal pull-down device active
VALUE7
Input inverted - Internal pull-up device active
VALUE8
Input inverted - No internal pull device, Pn_OUTx = input value
VALUE9
Output Push-Pull - General-purpose output
VALUE10
Output Push-Pull - Alternate output function 1
VALUE11
Output Push-Pull - Alternate output function 2
VALUE12
Output Push-Pull - Alternate output function 3
VALUE13
Output Push-Pull - Alternate output function 4
VALUE14
Output Push-Pull - Alternate output function 5
VALUE15
Output Push-Pull - Alternate output function 6
VALUE16
Output Push-Pull - Alternate output function 7
VALUE17
Output Open Drain - General-purpose output
VALUE18
Output Open Drain - Alternate output function 1
VALUE19
Output Open Drain - Alternate output function 2
VALUE20
Output Open Drain - Alternate output function 3
VALUE21
Output Open Drain - Alternate output function 4
VALUE22
Output Open Drain - Alternate output function 5
VALUE23
Output Open Drain - Alternate output function 6
VALUE24
Output Open Drain - Alternate output function 7
_Reserved(u8)
Reserved
Implementations§
Source§impl PC5R
impl PC5R
Sourcepub fn is_value10(&self) -> bool
pub fn is_value10(&self) -> bool
Checks if the value of the field is VALUE10
Sourcepub fn is_value11(&self) -> bool
pub fn is_value11(&self) -> bool
Checks if the value of the field is VALUE11
Sourcepub fn is_value12(&self) -> bool
pub fn is_value12(&self) -> bool
Checks if the value of the field is VALUE12
Sourcepub fn is_value13(&self) -> bool
pub fn is_value13(&self) -> bool
Checks if the value of the field is VALUE13
Sourcepub fn is_value14(&self) -> bool
pub fn is_value14(&self) -> bool
Checks if the value of the field is VALUE14
Sourcepub fn is_value15(&self) -> bool
pub fn is_value15(&self) -> bool
Checks if the value of the field is VALUE15
Sourcepub fn is_value16(&self) -> bool
pub fn is_value16(&self) -> bool
Checks if the value of the field is VALUE16
Sourcepub fn is_value17(&self) -> bool
pub fn is_value17(&self) -> bool
Checks if the value of the field is VALUE17
Sourcepub fn is_value18(&self) -> bool
pub fn is_value18(&self) -> bool
Checks if the value of the field is VALUE18
Sourcepub fn is_value19(&self) -> bool
pub fn is_value19(&self) -> bool
Checks if the value of the field is VALUE19
Sourcepub fn is_value20(&self) -> bool
pub fn is_value20(&self) -> bool
Checks if the value of the field is VALUE20
Sourcepub fn is_value21(&self) -> bool
pub fn is_value21(&self) -> bool
Checks if the value of the field is VALUE21
Sourcepub fn is_value22(&self) -> bool
pub fn is_value22(&self) -> bool
Checks if the value of the field is VALUE22
Sourcepub fn is_value23(&self) -> bool
pub fn is_value23(&self) -> bool
Checks if the value of the field is VALUE23
Sourcepub fn is_value24(&self) -> bool
pub fn is_value24(&self) -> bool
Checks if the value of the field is VALUE24
Trait Implementations§
impl Copy for PC5R
impl StructuralPartialEq for PC5R
Auto Trait Implementations§
impl Freeze for PC5R
impl RefUnwindSafe for PC5R
impl Send for PC5R
impl Sync for PC5R
impl Unpin for PC5R
impl UnwindSafe for PC5R
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)