1 //These high-level functions are implemented in chipcon.c.
4 //! Erase a chipcon chip.
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();
15 unsigned short cc_get_pc();
16 //! Set a hardware breakpoint.
17 void cc_set_hw_brkpnt(unsigned short);
18 //! Debug an instruction, for remote use.
19 void cc_debug_instr(unsigned char);
20 //!Read a byte of code memory.
21 unsigned char cc_peekcodebyte(unsigned long adr);
22 //!Read a byte of data memory.
23 unsigned char cc_peekdatabyte(unsigned int adr);
24 //! Set a byte of data memory.
25 unsigned char cc_pokedatabyte(unsigned int adr,
27 //! Debug an instruction, for local use.
28 unsigned char cc_debug(unsigned char len,
37 //! Step an instruction