Module rustduino::atmega2560p::hal[][src]

Expand description

Hardware Abstraction Library (HAL)

Modules

This is the implementation for Analog Referencing in Integrated circuit of AVR Chips.
This code is written taking into account the features available in ATMEGA2560P. This code implements the Analog Read function to read from the buffer using analog signals. This code implements the Analog Write function to write into the buffer using analog signals. Refer to section 16,17,25 and 26 of ATMEGA2560P datasheet.

This source code creates a array for controlling all digital pins at one place in form Pins array which would be used so that we get meaningful functions to work upon and also the implementation of rustduino library is easier for the user. For more details see section 16,17,25 and 26 of ATMEGA2560P datasheet.

Global interrupts configured in the ATMEGA2560P chip is controlled here. Section 7.4 of the manual

This files contain the code for combining all the parallel ports containing I/O ports into one structure for easier implementation. See the section 13.2 and 13.4 of ATMEGA2560P datasheet.

Various pins and ports in the ATMEGA2560P chip is controlled here. Section 13.2 to 13.4 of ATMEGA2560P datasheet.

Generic implementation of power control through clock gating in ATMEGA2560P. Section 11.10.2 and 11.10.3 of the manual. Also references from Section 11.8.

Implementation of Sleep Modes of ATMEGA2560P. Section 11.10.1 of the manual. Also references from Section 11.4.

Control on Watchdog timer in ATMEGA2560P Section 12.5 and 28.6 of manual