Struct atmega_hal::port::PB4
source · pub struct PB4 { /* private fields */ }
Trait Implementations§
source§impl PinOps for PB4
impl PinOps for PB4
type Dynamic = Dynamic
fn into_dynamic(self) -> Self::Dynamic
unsafe fn out_set(&mut self)
unsafe fn out_clear(&mut self)
unsafe fn out_toggle(&mut self)
unsafe fn out_get(&self) -> bool
unsafe fn in_get(&self) -> bool
unsafe fn make_output(&mut self)
unsafe fn make_input(&mut self, pull_up: bool)
source§impl SpiOps<Atmega, PB5, PB3, PB4, PB2> for SPI
impl SpiOps<Atmega, PB5, PB3, PB4, PB2> for SPI
source§fn raw_setup(&mut self, settings: &Settings)
fn raw_setup(&mut self, settings: &Settings)
Sets up the control/status registers with the right settings for this secondary device
source§fn raw_release(&mut self)
fn raw_release(&mut self)
Disable the peripheral
source§fn raw_check_iflag(&self) -> bool
fn raw_check_iflag(&self) -> bool
Check the interrupt flag to see if the write has completed Read more
source§fn raw_write(&mut self, byte: u8)
fn raw_write(&mut self, byte: u8)
Write a byte to the data register, which begins transmission
automatically.
source§fn raw_transaction(&mut self, byte: u8) -> u8
fn raw_transaction(&mut self, byte: u8) -> u8
Perform a transaction of a single byte
Auto Trait Implementations§
impl Freeze for PB4
impl RefUnwindSafe for PB4
impl Send for PB4
impl Sync for PB4
impl Unpin for PB4
impl UnwindSafe for PB4
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
Mutably borrows from an owned value. Read more