[][src]Trait lpc55_hal::traits::reg_proxy::RegCluster

pub unsafe trait RegCluster {
    type Target;
    fn get() -> *const [Self::Target];
}

Associated Types

type Target[]

The type that RegProxy should derefence to

If only one instance of the register exists, this should be Self. If the same type in the svd2rust API is used to represent registers at multiple memory locations, this trait must be implemented for a type that represents a specific register at a specific location, and Target must be the common type.

Required methods

fn get() -> *const [Self::Target][]

Return a pointer to the memory location of the register

Implementations on Foreign Types

impl RegCluster for DIRSET[src][]

type Target = DIRSET

impl RegCluster for DIRCLR[src][]

type Target = DIRCLR

impl RegCluster for PIN[src][]

type Target = PIN

impl RegCluster for SET[src][]

type Target = SET

impl RegCluster for CLR[src][]

type Target = CLR

Implementors