repo.or.cz
/
cr816-sim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i2c tools better naming scheme
[cr816-sim.git]
/
ioregs.h
blob
fdc05ff1a8b4b9cc93be58f39acc531571d2e1df
1
#ifndef IOREGS_H
2
#define IOREGS_H
3
4
#include
"disasm.h"
5
6
void
write_io
(
u8 addr
,
u8 val
);
7
u8
read_io
(
u8 addr
);
8
9
void
write_io_lowlevel
(
u8 addr
,
u8 val
);
10
u8
read_io_lowlevel
(
u8 addr
);
11
12
void
init_ioregs
(
char
*
filename
);
13
14
#endif