Trait peripherals::RegisterValue[][src]

pub trait RegisterValue {
    type Int: Int;

    const RESET: Self::Int;
    const NAME: &'static str;
}

A trait for the register associated with a value

This trait is implemented by the register! macro for marker types that indicate registers associated to a value.

Associated Types

type Int: Int[src]

The width of this register (u8, u16, etc.)

Loading content...

Associated Constants

const RESET: Self::Int[src]

The reset value of this register

const NAME: &'static str[src]

The name to be displayed in debug

Loading content...

Implementors

impl RegisterValue for peripherals::attributes::periph::Register[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::periph::RegisterAll[src]

all: on everything

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::periph::RegisterField[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::periph::RegisterImpl[src]

impl: only on impls

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::periph::RegisterType[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::register::Register[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::register::RegisterAll[src]

all: on everything

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::register::RegisterField[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::register::RegisterImpl[src]

impl: only on impls

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for peripherals::attributes::register::RegisterType[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for BigRegister[src]

type Int = u16

const RESET: u16[src]

const NAME: &'static str[src]

impl RegisterValue for SmallRegister[src]

type Int = u8

const RESET: u8[src]

const NAME: &'static str[src]

impl RegisterValue for BUFFER[src]

type Int = u16

const RESET: u16[src]

const NAME: &'static str[src]

impl RegisterValue for CONFIG[src]

type Int = u16

const RESET: u16[src]

const NAME: &'static str[src]

impl RegisterValue for STATUS[src]

type Int = u16

const RESET: u16[src]

const NAME: &'static str[src]

impl RegisterValue for RegisterName[src]

type Int = u16

const RESET: u16[src]

const NAME: &'static str[src]

Loading content...