Struct avr_mcu::Peripheral [] [src]

pub struct Peripheral {
    pub name: String,
    pub instances: Vec<Instance>,
}

Fields

The name of the peripheral, for example, PORT.

A list of instances where the peripheral is used.

Methods

impl Peripheral
[src]

Gets an instance by name.

Gets an iterator over all signals that the peripheral uses.

Trait Implementations

impl Clone for Peripheral
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Peripheral
[src]

Formats the value using the given formatter.

impl PartialOrd for Peripheral
[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 Peripheral
[src]

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

This method tests for !=.