Struct nrf52832_pac::PWM2
source · [−]pub struct PWM2 { /* private fields */ }
Expand description
Pulse Width Modulation Unit 2
Implementations
sourceimpl PWM2
impl PWM2
sourcepub const PTR: *const RegisterBlock = {0x40022000 as *const pwm0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40022000 as *const pwm0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Deref for PWM2
impl Deref for PWM2
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for PWM2
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more