Struct cortex_m::peripheral::Peripheral [] [src]

pub struct Peripheral<T> where
    T: 'static, 
{ /* fields omitted */ }
[]

A peripheral

Methods

impl<T> Peripheral<T>
[src]

[src]
[]

Creates a new peripheral

address is the base address of the register block

[src]
[]

Borrows the peripheral for the duration of a critical section

[src]
[]

Returns a pointer to the register block

Trait Implementations

impl<T> Debug for Peripheral<T> where
    T: Debug + 'static, 
[src]

[src]
[]

Formats the value using the given formatter. Read more