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

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

Index

Declarations

chipmap.module:100Function 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 behavior of the given pin.
INT bit The specific bit of the control registers that alters the behavior of the given AVR pin.