List of constants/symbols
This list shows global constants and symbols, which can be used in assembler source code in libraries or Luna-inline-Asm.
Constants
Name | Description |
---|---|
AVR_ADDRWRAP | Nonzero if the address wrap support (Relative jumps over flash end to the beginning and flipped). |
AVR_CORE | AVR Core-Type (Number) |
AVR_CLOCK, _CLOCK | Defined Clock |
AVR_CODE_START_ADDR | Defined Code start address in the flash. |
AVR_DEVICE, DEVICE | Controller name (string) |
AVR_EEPROM_ACCESS | Nonzero if EEPROM accesses in Luna source. |
AVR_EEPROM_ACCESS_HIGH | Non-zero when the EEPROM memory is greater than 255 bytes. |
AVR_HWMUL | Nonzero if hardware multiplication are supported. |
AVR_HWJMP | Nonzero if direct jumps/call are supported (call, jmp, ..) |
AVR_MEGA | Nonzero if Atmega controller |
AVR_XMEGA | Nonzero if Atxmega controller |
AVR_PC_SIZE | Number of bytes that are stored in a subroutine call on the stack as a return address. |
AVR_STACK_SIZE | Defined stack size (bytes) |
AVR_STACK_END | Stack end address pointed to last byte stack (SRAMEND-AVR_STACK_SIZE). |
Symbols
The symbols are only available if the corresponding property is true. You are using the preprocessor function defined() to check for the presence and not by value!
Name | Description |
---|---|
AVR_PC3 | 3-byte program counter (PC). e.g. direct (return-) addresses (call / ret) have a size of 3 bytes. |