static __inline void send_ctrl_cmd(unsigned int cmd) { unsigned char temp1 = (unsigned char)((cmd >> 8) & 0xFF); unsigned char temp2 = (unsigned char)(cmd & 0xFF); lcm_util.send_cmd(0x2000 | temp1); lcm_util.send_cmd(0x0000 | temp2); }
static __inline void send_ctrl_cmd(unsigned int cmd) { lcm_util.send_cmd(cmd); }
static __inline void send_ctrl_cmd(unsigned int cmd) { // printf("c:%x", cmd); lcm_util.send_cmd(cmd); }
static __inline void LCDSPI_InitCMD(unsigned char cmd) { lcm_util.send_cmd(cmd & 0xFF); }