Blame view

serial.h 211 Bytes
9e9f365e   henyxia   Added HVC interface
1
2
3
4
5
6
7
8
9
  #ifndef __SERIAL_H__
  #define	__SERIAL_H__
  
  bool init_serial(char*, int, int*, struct termios*);
  void close_serial(int*, struct termios*);
  unsigned char getData(int*);
  void sendData(int*, unsigned char);
  
  #endif