~foura/uxn900

ref: f5f2adf999f193d55ecd7a4b19645e55d579b70b uxn900/src/inc/fns.h -rw-r--r-- 292 bytes
f5f2adf9james palmer i2c: move to bus directory 3 months ago
                                                                                
1
2
3
4
5
6
7
void   timer_init(Uint32 base);
Uint32 timer_get(Uint32 base);
void   timer_delay(Uint32 base, Uint32 usec);

void  i2c_init(Uint32 base);
void  i2c_write(Uint32 base, Uint8 sa, Uint8 *data, Uint8 acnt, Uint8 dcnt);
void  i2c_read(Uint32 base, Uint8 sa, Uint8 *data, Uint8 acnt, Uint8 dcnt);