Class Examples | |||||||||
Topic | Examples | ||||||||
---|---|---|---|---|---|---|---|---|---|
Atmel XMEGA Examples |
Table Load Example: Read values from a table in program memory,
add the values, store the sum, and copy the program memory table to data
memory Various Addressing Mode Examples: GPIO Example: Use the GPIO system (read inputs and write to outputs) of the XMEGA with uPAD Stack Example: Vector Addition Example: Add two vectors using a subroutine and the stack External Interrupt Example: Using an external interrupt Input Port Example: Creating an external (EBI) input port UART Example: Asynch. Serial Comm. (SCI) Polling Example C Example: Serial w/ interrupt while blinking LEDs: | ||||||||
Atmel XMEGA Parameter Passing |
| ||||||||
Atmel XMEGA C |
* Header for Far Memory Access (for ebi.c and any programs that access 3 byte addresses on EBI) (ebi_driver.h) * usart.c * usart.h | ||||||||
Atmel XMEGA Mixed Assembly and C |
| ||||||||
GCPU++ Examples |
Addressing Modes (from 3701)
|
|
68HC12 examples
|
|
68HC11 examples
|
|
TI F28335 (DSC) examples
|
| |