cf339f180efd379e73811c043ea484bf7457dc29
[goodfet] / firmware / include / chipcon.h
1 //These high-level functions are implemented in chipcon.c.
2
3
4 //! Erase a chipcon chip.
5 void cc_chip_erase();
6 //! Write the configuration byte.
7 void cc_wr_config(unsigned char config);
8 //! Read the configuration byte.
9 unsigned char cc_rd_config();
10 //! Read the status register.
11 unsigned char cc_read_status();
12 //! Read the CHIP ID bytes.
13 unsigned short cc_get_chip_id();
14 //! Get the PC
15 unsigned short cc_get_pc();
16 //! Set a hardware breakpoint.
17 void cc_set_hw_brkpnt(unsigned short);
18
19 //! Halt the CPU.
20 void cc_halt();
21 //! Resume the CPU.
22 void cc_resume();
23 //! Step an instruction
24 void cc_step_instr();
25