Subversion Repositories HomeAutomation

Rev

Rev 363 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. #ifndef CRC16_H
  2. #define CRC16_H
  3.  
  4. #define uint16 unsigned int
  5. #define uint8 unsigned char
  6.  
  7. void update_crc(uint16 *p_crc, uint8 data);
  8. uint16 calc_crc(uint8 * p_data, uint16 n_bytes);
  9.  
  10. #endif
  11.