Struct avr_mcu::Mcu [] [src]

pub struct Mcu {
    pub device: Device,
    pub variants: Vec<Variant>,
    pub modules: Vec<Module>,
}

A microcontroller with one or more variants.

Fields

Information about the microcontroller itself.

The different variants the mcu can come in.

The modules built into the mcu package.

Methods

impl Mcu
[src]

Gets a peripheral module by name.

Gets a module by name.

Gets an iterator over all register groups.

Gets an iterator over all registers.

Gets a port by letter.

Gets the port peripheral.

Gets the port module.

Trait Implementations

impl Clone for Mcu
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mcu
[src]

Formats the value using the given formatter.

impl PartialOrd for Mcu
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for Mcu
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.