projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing the ugliest of hacks.
[goodfet]
/
firmware
/
include
/
chipcon.h
diff --git
a/firmware/include/chipcon.h
b/firmware/include/chipcon.h
index
3bf3da1
..
bf471e6
100644
(file)
--- 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);
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);
//! Set a byte of data memory.
unsigned char cc_pokedatabyte(unsigned int adr,
unsigned char val);