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


impl<Periph, PC> Peripheral<Periph, PC>

Trait Implementations

impl<T, C> Sync for Peripheral<T, C>

impl<P, PC> ResourceLike for Peripheral<P, PC>

The ceiling of the resource