OSDN Git Service

Update lejos_nxt/ to nxtOSEK_v212.zip (I did not check about license issues.)
[nxt-jsp/etrobo-atk.git] / nxtOSEK / lejos_nxj / src / nxtvm / platform / nxt / twi.h
1 #ifndef __AT91_TWI_H__
2 #  define __AT91_TWI_H__
3
4 #  include "mytypes.h"
5
6 /* Main user interface */
7 int twi_init(void);
8
9 void twi_start_write(U32 dev_addr, const U8 *data, U32 nBytes);
10 void twi_start_read(U32 dev_addr, U8 *data, U32 nBytes);
11 int twi_status(void);
12 void twi_reset(void);
13
14 #endif