Struct cortex_m_rtfm::Peripheral [] [src]

pub struct Peripheral<P, PC> where
    P: 'static, 
{ /* fields omitted */ }

A hardware peripheral as a resource

To assign a ceiling to a peripheral, use the peripherals! macro

Methods

impl<Periph, PC> Peripheral<Periph, PC>
[src]

Trait Implementations

impl<T, C> Sync for Peripheral<T, C>
[src]

impl<P, PC> ResourceLike for Peripheral<P, PC>
[src]

The ceiling of the resource