47a91670c90f956dd68c433a9535b342c2bd35a2
[goodfet] / firmware / include / apps.h
1 /*! \file apps.h
2   \author Travis Goodspeed
3   \brief Application definitions.
4 */
5
6 //Essential and highly standardized stuff in 0x00 range.
7 #define MONITOR 0x00
8 #define SPI 0x01
9 #define I2CAPP 0x02
10
11 //All JTAG targets in 0x10 range.
12 #define JTAG 0x10
13 #define JTAG430 0x11
14 #define EJTAG 0x12
15 #define JTAGARM7TDMI 0x13
16 #define ADIv5 0x14
17 #define JTAGXSCALE 0x15
18
19 //Manufacturer-specific protocols go in 0x30 and 0x40.
20 #define CHIPCON 0x30
21 #define SIF 0x31
22 #define AVR 0x32
23 #define PIC 0x34
24
25 //Radio peripherals are in the 0x50 range.
26 #define NRF   0x50
27 #define CCSPI 0x51
28
29 //Keep 0x60 empty for now.
30
31 //Weird stuff in 0x70 range.
32 #define OCT 0x70
33 #define GLITCH 0x71
34 #define PLUGIN 0x72
35 #define SMARTCARD 0x73
36 #define ADC10 0x74
37
38 #define RESET 0x80      // not a real app -- causes firmware to reset
39
40 #define DEBUGAPP 0xFF