X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fchipcon.h;h=bf471e6f2fab06469c3fb739fc3df4cb5f98d21d;hp=3bf3da1f894d37da1eeb278eaefe24dc67d13bba;hb=002c3c7923311e13f0ff2fcdfb292aa1c94ebe89;hpb=8869ee2fe66d402ec6e56f256098486c6904c871 diff --git a/firmware/include/chipcon.h b/firmware/include/chipcon.h index 3bf3da1..bf471e6 100644 --- a/firmware/include/chipcon.h +++ b/firmware/include/chipcon.h @@ -39,6 +39,10 @@ void cc_debug_instr(unsigned char); unsigned char cc_peekcodebyte(unsigned long adr); //!Read a byte of data memory. unsigned char cc_peekdatabyte(unsigned int adr); +//! Fetch a byte of IRAM. +u8 cc_peekirambyte(u8 adr); +//! Write a byte of IRAM. +u8 cc_pokeirambyte(u8 adr, u8 val); //! Set a byte of data memory. unsigned char cc_pokedatabyte(unsigned int adr, unsigned char val);