/** * \file * * * \brief HX8347 low-level hardware macros for Atmel SAM3X-EK board. * * The LCD controller is connected to the cpu static memory controller. * LCD has 16 data lines and usual RS/WR/RD lines. The data lines * are connected to the SMC data bus (D0-15), while the SCM address bus * (A1 only) is used to drive the RS pin. WR/RD are connected to SMC's * NWE and NRD respectively. * * \author Stefano Fedrigo */ #ifndef HW_HX8347_H #define HW_HX8347_H #warning TODO: This is an example implementation, you must implement it! /** * Send a command to LCD controller. */ INLINE void hx8347_cmd(uint8_t cmd) { /* Implement me */ (void)cmd; } /** * Send data to LCD controller. */ INLINE void hx8347_write(uint16_t data) { /* Implement me */ (void)data; } /** * Read data from LCD controller. */ INLINE uint16_t hx8347_read(void) { /* Implement me */ return 0; } /** * Bus initialization: setup hardware where LCD is connected. */ INLINE void hx8347_busInit(void) { /* Implement me */ } #endif /* HW_HX8347_H */