Enum xmc4200::port1::iocr8::PC8R
[−]
[src]
pub enum PC8R { VALUE1, VALUE2, VALUE3, VALUE4, VALUE5, VALUE6, VALUE7, VALUE8, VALUE9, VALUE10, VALUE11, VALUE12, VALUE13, VALUE14, VALUE15, VALUE16, VALUE17, VALUE18, _Reserved(u8), }
Possible values of the field PC8
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 Open Drain - General-purpose output
VALUE15
Output Open Drain - Alternate output function 1
VALUE16
Output Open Drain - Alternate output function 2
VALUE17
Output Open Drain - Alternate output function 3
VALUE18
Output Open Drain - Alternate output function 4
_Reserved(u8)
Reserved
Methods
impl PC8R
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_value1(&self) -> bool
[src]
Checks if the value of the field is VALUE1
pub fn is_value2(&self) -> bool
[src]
Checks if the value of the field is VALUE2
pub fn is_value3(&self) -> bool
[src]
Checks if the value of the field is VALUE3
pub fn is_value4(&self) -> bool
[src]
Checks if the value of the field is VALUE4
pub fn is_value5(&self) -> bool
[src]
Checks if the value of the field is VALUE5
pub fn is_value6(&self) -> bool
[src]
Checks if the value of the field is VALUE6
pub fn is_value7(&self) -> bool
[src]
Checks if the value of the field is VALUE7
pub fn is_value8(&self) -> bool
[src]
Checks if the value of the field is VALUE8
pub fn is_value9(&self) -> bool
[src]
Checks if the value of the field is VALUE9
pub fn is_value10(&self) -> bool
[src]
Checks if the value of the field is VALUE10
pub fn is_value11(&self) -> bool
[src]
Checks if the value of the field is VALUE11
pub fn is_value12(&self) -> bool
[src]
Checks if the value of the field is VALUE12
pub fn is_value13(&self) -> bool
[src]
Checks if the value of the field is VALUE13
pub fn is_value14(&self) -> bool
[src]
Checks if the value of the field is VALUE14
pub fn is_value15(&self) -> bool
[src]
Checks if the value of the field is VALUE15
pub fn is_value16(&self) -> bool
[src]
Checks if the value of the field is VALUE16
pub fn is_value17(&self) -> bool
[src]
Checks if the value of the field is VALUE17
pub fn is_value18(&self) -> bool
[src]
Checks if the value of the field is VALUE18
Trait Implementations
impl Clone for PC8R
[src]
fn clone(&self) -> PC8R
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for PC8R
[src]
impl Debug for PC8R
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more