Library for PAT9125 on L476RG platform
Fork of pat9125_mbed by
pixart_lcm.h@1:4b7c15d9c864, 2018-02-01 (annotated)
- Committer:
- pixus_mbed
- Date:
- Thu Feb 01 02:21:50 2018 +0000
- Revision:
- 1:4b7c15d9c864
Merge pixart_lcm to pat9125_mbed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pixus_mbed | 1:4b7c15d9c864 | 1 | #ifndef PIXART_LCM_H |
pixus_mbed | 1:4b7c15d9c864 | 2 | #define PIXART_LCM_H |
pixus_mbed | 1:4b7c15d9c864 | 3 | |
pixus_mbed | 1:4b7c15d9c864 | 4 | #include "stdint.h" |
pixus_mbed | 1:4b7c15d9c864 | 5 | #include "mbed.h" |
pixus_mbed | 1:4b7c15d9c864 | 6 | |
pixus_mbed | 1:4b7c15d9c864 | 7 | typedef uint8_t boolean ; |
pixus_mbed | 1:4b7c15d9c864 | 8 | |
pixus_mbed | 1:4b7c15d9c864 | 9 | class pixart_lcm |
pixus_mbed | 1:4b7c15d9c864 | 10 | { |
pixus_mbed | 1:4b7c15d9c864 | 11 | public: |
pixus_mbed | 1:4b7c15d9c864 | 12 | |
pixus_mbed | 1:4b7c15d9c864 | 13 | pixart_lcm(SPI *pSPI, DigitalOut *pCSB, DigitalOut *pRSTB, DigitalOut *pRS) ; |
pixus_mbed | 1:4b7c15d9c864 | 14 | void LCM_DisplayString(unsigned char line, unsigned char position, const char *ptr) ; |
pixus_mbed | 1:4b7c15d9c864 | 15 | void LCM_DisplayDecimal(unsigned char line, unsigned char position, unsigned int hex_word, unsigned char digits) ; |
pixus_mbed | 1:4b7c15d9c864 | 16 | void LCM_DisplayString_Reset(void); |
pixus_mbed | 1:4b7c15d9c864 | 17 | void LCM_DisplayString_Boot(boolean sen_status); |
pixus_mbed | 1:4b7c15d9c864 | 18 | |
pixus_mbed | 1:4b7c15d9c864 | 19 | }; |
pixus_mbed | 1:4b7c15d9c864 | 20 | #endif |