projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* .version: bumped version number to 2.4.8
[fw/sdcc]
/
device
/
lib
/
pic16
/
libio
/
i2c
/
i2creadc.c
1
2
#include <pic18fregs.h>
3
4
#include <i2c.h>
5
6
unsigned char i2c_readchar(void)
7
{
8
SSPCON2bits.RCEN = 1;
9
while( !I2C_DRDY() );
10
return ( SSPBUF );
11
}