Module 328.constants
- Occam definitions for the ATmega328
Occam definitions for the ATmega328.
Index
-
Constant
F.CPU
- The CPU frequency in Hz -
Constant
MAX.PORT
- A value that's guaranteed to be higher than the highest port value defined by this module
Declarations
constants.module
:36Constant F.CPU
VAL INT32 F.CPU
The CPU frequency in Hz.
constants.module
:47Constant MAX.PORT
VAL INT MAX.PORT
A value that's guaranteed to be higher than the highest port value defined by this module.
This is for placing an array over all the ports:
PLACED [MAX.PORT]BYTE ports 0:
ports[PORTB] := 42