Module peripherals::example::peripheral[][src]

Example of generated peripheral API

Take a look at the source of this module to see the macro invocation used.

Structs

BUFFER

A write-only register

BUFFERBits

A bit pattern to modify or to test the value of BUFFER.

BUFFERValue

A value read from or to write to BUFFER.

CONFIG

A read-write register

CONFIGBits

A bit pattern to modify or to test the value of CONFIG.

CONFIGValue

A value read from or to write to CONFIG.

Data

Data to use with the peripheral

Peripheral

The peripheral

STATUS

A read-only register

STATUSBits

A bit pattern to modify or to test the value of STATUS.

STATUSValue

A value read from or to write to STATUS.

StatFlag

Some flag

Enums

CfgFlag

Some flag

Mode

Some mode for the peripheral

Status

Some status for the peripheral