Module 1280.chipmap - Symbolic arrays and FUNCTON(s) for mapping into General Purpose I/O functionality on ATmega1280 based boards

Symbolic arrays and FUNCTON(s) for mapping into General Purpose I/O functionality on ATmega1280 based boards.

Index

Declarations

chipmap.module:52Function chip.to.gpio

INT, INT, INT, INT FUNCTION chip.to.gpio (VAL INT avr.pin)

Looks up the various General Purpose I/O registers connected to the given AVR pin.

Parameters:

VAL INT avr.pin The AVR pin controlled by the given returns.

Returns:

INT ddr, port, pin The various control registers that effects the behaviour of the given pin.
INT bit The specific bit of the control registers that alters the behavior of the given AVR pin.