ili9341: update interface control definitions
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
This commit is contained in:
parent
4ac49f514d
commit
7a874e5d4c
|
@ -191,6 +191,17 @@
|
|||
#define ILI9341_INTERFACE_CONTROL_DM(n) ((n) << ILI9341_INTERFACE_CONTROL_DM_SHIFT)
|
||||
#define ILI9341_INTERFACE_CONTROL_ENDIAN (1 << 5)
|
||||
|
||||
/* Interface Mode control */
|
||||
|
||||
#define ILI9341_INTERFACE_CONTROL_EPL (1)
|
||||
#define ILI9341_INTERFACE_CONTROL_DPL (1 << 1)
|
||||
#define ILI9341_INTERFACE_CONTROL_HSPL (1 << 2)
|
||||
#define ILI9341_INTERFACE_CONTROL_VSPL (1 << 3)
|
||||
#define ILI9341_INTERFACE_CONTROL_RCM_SHIFT (5)
|
||||
#define ILI9341_INTERFACE_CONTROL_RCM_MASK (2 << ILI9341_INTERFACE_CONTROL_RCM_SHIFT)
|
||||
#define ILI9341_INTERFACE_CONTROL_RCM(n) ((n) << ILI9341_INTERFACE_CONTROL_RCM_SHIFT)
|
||||
#define ILI9341_INTERFACE_CONTROL_BPASS (1 << 7)
|
||||
|
||||
/**************************************************************************************
|
||||
* Public Types
|
||||
**************************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue