Lines Matching refs:tx_buf
232 uint8_t tx_buf[4]; in ST7796S_SelectArea() local
234 tx_buf[0] = (uint8_t)(startX >> 0x08U) & 0xFFU; in ST7796S_SelectArea()
235 tx_buf[1] = (uint8_t)startX & 0xFFU; in ST7796S_SelectArea()
236 tx_buf[2] = (uint8_t)(endX >> 0x08U) & 0xFFU; in ST7796S_SelectArea()
237 tx_buf[3] = (uint8_t)endX & 0xFFU; in ST7796S_SelectArea()
239 ST7796S_ERROR_CHECK(ST7796S_WriteCommand(handle, ST7796S_CMD_CASET, tx_buf, 4U)); in ST7796S_SelectArea()
241 tx_buf[0] = (uint8_t)(startY >> 0x08U) & 0xFFU; in ST7796S_SelectArea()
242 tx_buf[1] = (uint8_t)startY & 0xFFU; in ST7796S_SelectArea()
243 tx_buf[2] = (uint8_t)(endY >> 0x08U) & 0xFFU; in ST7796S_SelectArea()
244 tx_buf[3] = (uint8_t)endY & 0xFFU; in ST7796S_SelectArea()
246 ST7796S_ERROR_CHECK(ST7796S_WriteCommand(handle, ST7796S_CMD_RASET, tx_buf, 4U)); in ST7796S_SelectArea()
257 uint8_t tx_buf[1]; in ST7796S_Config() local
259 tx_buf[0] = (uint8_t)config->orientationMode; in ST7796S_Config()
262 tx_buf[0] &= (uint8_t)(~0x08U); in ST7796S_Config()
269 tx_buf[0] ^= 0x80U; in ST7796S_Config()
273 tx_buf[0] ^= 0x40U; in ST7796S_Config()
277 ST7796S_ERROR_CHECK(ST7796S_WriteCommand(handle, ST7796S_CMD_MADCTL, tx_buf, 1U)); in ST7796S_Config()