projects
/
debian
/
cc1111
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.9.0
[debian/cc1111]
/
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
}