Struct avr_mcu::Port
[−]
[src]
pub struct Port<'a> { /* fields omitted */ }A port, such as PORTB.
Methods
impl<'a> Port<'a>[src]
fn registers(&'a self) -> impl Iterator<Item = &'a Register>[src]
Gets all associated registers.
fn signals(&'a self) -> impl Iterator<Item = &'a Signal>[src]
Gets all associated signals.
fn signal_with_pad(&'a self, pad: &str) -> Option<&'a Signal>[src]
Gets the signal associated with a pad.
fn ddr_register(&self) -> &Register[src]
Gets the data direction register.
fn port_register(&self) -> &Register[src]
Gets the port register.
fn pin_register(&self) -> &Register[src]
Gets the pin register.
Trait Implementations
impl<'a> Clone for Port<'a>[src]
fn clone(&self) -> Port<'a>[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<'a> Debug for Port<'a>[src]
impl<'a> PartialOrd for Port<'a>[src]
fn partial_cmp(&self, __arg_0: &Port<'a>) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<'a> PartialEq for Port<'a>[src]
fn eq(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Port<'a>) -> bool[src]
This method tests for !=.