Searched refs:lbuf (Results 1 – 1 of 1) sorted by relevance
172 uint8_t lbuf[2]; //Allocate write buffer in regWrite() local173 memset(lbuf, 0, sizeof(uint8_t)*2); //Fill low buffer with 0's in regWrite()174 lbuf[0] = (lowWord >> 8); in regWrite()175 lbuf[1] = (lowWord); in regWrite()176 mraa_spi_write_buf(_spi, lbuf, 2); //Write the buffer to the SPI port in regWrite()