This software drives a PCA9675 device via an I2C bus. Included functions allow you to read the device ID, set the IO direction, and read and write from the device.
Header/misra_types.h
- Committer:
- DavidGilesHitex
- Date:
- 2010-11-23
- Revision:
- 0:3331b5950572
File content as of revision 0:3331b5950572:
/* Hitex Standard Header File */ /* Types As Recommended By MISRA */ /* Bytes (8bit length) */ typedef unsigned char uint8_t; typedef char sint8_t; /* Half Words (16bit lengths) */ typedef unsigned short uint16_t; typedef short sint16_t; /* Words (32bit lengths) */ /* Also int */ typedef unsigned int uint32_t; typedef long sint32_t; /* Double Words */ /* Also long long and long double */ typedef unsigned long long uint64_t; typedef long long sint64_t; /* Constants should use the following suffixes also u - Unsigned f - floating L - Long double (64bit) */