#[repr(C)]pub struct LED_TypeDef {
pub CR: u32,
pub PR: u32,
pub TR: u32,
pub DR0: u32,
pub DR1: u32,
pub DR2: u32,
pub DR3: u32,
pub IR: u32,
}
Fields§
§CR: u32
< LED Control register, Address offset: 0x00
PR: u32
< LED Prescaler register, Address offset: 0x04
TR: u32
< Time register, Address offset: 0x08
DR0: u32
< Data0 register, Address offset: 0x0C
DR1: u32
< Data1 register, Address offset: 0x10
DR2: u32
< Data2 register, Address offset: 0x14
DR3: u32
< Data3 register, Address offset: 0x18
IR: u32
< Interrupt register, Address offset: 0x1C
Trait Implementations§
Source§impl Clone for LED_TypeDef
impl Clone for LED_TypeDef
Source§fn clone(&self) -> LED_TypeDef
fn clone(&self) -> LED_TypeDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LED_TypeDef
impl Debug for LED_TypeDef
impl Copy for LED_TypeDef
Auto Trait Implementations§
impl Freeze for LED_TypeDef
impl RefUnwindSafe for LED_TypeDef
impl Send for LED_TypeDef
impl Sync for LED_TypeDef
impl Unpin for LED_TypeDef
impl UnwindSafe for LED_TypeDef
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