STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Revision 9:21f92cef6dca, committed 2015-11-19
- Comitter:
- Rhyme
- Date:
- Thu Nov 19 13:10:11 2015 +0000
- Parent:
- 8:e4b4cf8cf7d6
- Child:
- 10:dc5912872d41
- Child:
- 12:e85335a28f54
- Commit message:
- spi_format document(comment) added
Changed in this revision
| SPI_STMPE610.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_STMPE610.h Thu Nov 19 13:06:54 2015 +0000 +++ b/SPI_STMPE610.h Thu Nov 19 13:10:11 2015 +0000 @@ -87,6 +87,13 @@ void write8(int addr, uint8_t data) ; uint16_t read16(int addr) ; void write16(int addr, uint16_t data) ; + + /** + * specify spi format from this class + * @param bits number of bits per spi frame + * @param mode clock polarity and phase mode + * @note please refer to the spi class for more details + */ void spi_format(int bits, int mode) ; /**