pub struct Channel { /* private fields */ }
Expand description
The nrf52840 only has one analog comparator, so it does need channels However, the HIL was designed to support having multiple comparators, each one with a separate channel. So we create a dummy channel with only one possible value to represent this. Code for channels is based on Sam4l implementation
Implementations§
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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