Struct avr_mcu::Mcu [] [src]

pub struct Mcu {
    pub device: Device,
    pub variants: Vec<Variant>,
    pub modules: Vec<Module>,
    pub architecture: Architecture,
    pub c_preprocessor_name: &'static str,
}

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.

The family that the mcu belongs to.

The C preprocessor name.

Methods

impl Mcu
[src]

[src]

Gets a peripheral module by name.

[src]

Gets a module by name.

[src]

Gets an iterator over all register groups.

[src]

Gets an iterator over all registers.

[src]

Gets a port by letter.

[src]

Gets the port peripheral.

[src]

Gets the port module.

Trait Implementations

impl Clone for Mcu
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Mcu
[src]

[src]

Formats the value using the given formatter.

impl PartialOrd for Mcu
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

[src]

This method tests for !=.