pub struct Atmega;

Trait Implementations

Channel ID type for this ADC.

Settings type for this ADC.

Initialize the ADC peripheral with the specified settings. Read more

Read out the ADC data register. Read more

Check whether the ADC is currently converting a signal. Read more

Start a conversion on the currently selected channel. Read more

Set the multiplexer to a certain channel. Read more

Set the DIDR (Digital Input Disable) for a certain channel. Read more

Read a single byte from offset address. Does not do a bounds check. Read more

Erase and write a single byte at offset address. Does not do a bounds check. Read more

Erase a single byte at offset address. Does not do a bounds check. Read more

Setup the bus for operation at a certain speed. Read more

Start a bus transaction to a certain address in either read or write mode. Read more

Write some bytes to the bus. Read more

Read some bytes from the bus. Read more

Send a stop-condition and release the bus. Read more

Sets up the control/status registers with the right settings for this secondary device

Disable the peripheral

Check the interrupt flag to see if the write has completed

Read a byte from the data register

Write a byte to the data register, which begins transmission automatically.

Enable & initialize this USART peripheral to the given baudrate. Read more

Disable this USART peripheral such that the pins can be used for other purposes again. Read more

Flush all remaining data in the TX buffer. Read more

Write a byte to the TX buffer. Read more

Read a byte from the RX buffer. Read more

Enable/Disable a certain interrupt. Read more

Initialize the watchdog timer. Read more

Start the watchdog timer with the specified timeout. Read more

Feed this watchdog, to reset its period. Read more

Disable/stop this watchdog again. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.