Home
last modified time | relevance | path

Searched refs:au8Buf (Results 1 – 2 of 2) sorted by relevance

/hal_atmel-latest/asf/common/components/wifi/winc1500/driver/source/
Dnmuart.c292 uint8 au8Buf[HDR_SZ+1]; in nm_uart_read_block() local
294 au8Buf[0] = 0xa5; in nm_uart_read_block()
295 au8Buf[1] = 2; in nm_uart_read_block()
296 au8Buf[2] = 0; in nm_uart_read_block()
297 au8Buf[3] = (uint8)(u16Sz & 0x00ff); in nm_uart_read_block()
298 au8Buf[4] = (uint8)((u16Sz & 0xff00)>>8); in nm_uart_read_block()
299 au8Buf[5] = (uint8)(u32Addr & 0x000000ff); in nm_uart_read_block()
300 au8Buf[6] = (uint8)((u32Addr & 0x0000ff00)>>8); in nm_uart_read_block()
301 au8Buf[7] = (uint8)((u32Addr & 0x00ff0000)>>16); in nm_uart_read_block()
302 au8Buf[8] = (uint8)((u32Addr & 0xff000000)>>24); in nm_uart_read_block()
[all …]
Dnmi2c.c192 uint8 au8Buf[7]; in nm_i2c_read_block() local
195 au8Buf[0] = 0x02; in nm_i2c_read_block()
196 au8Buf[1] = (uint8)(u32Addr >> 24); in nm_i2c_read_block()
197 au8Buf[2] = (uint8)(u32Addr >> 16); in nm_i2c_read_block()
198 au8Buf[3] = (uint8)(u32Addr >> 8); in nm_i2c_read_block()
199 au8Buf[4] = (uint8)(u32Addr >> 0); in nm_i2c_read_block()
200 au8Buf[5] = (uint8)(u16Sz >> 8); in nm_i2c_read_block()
201 au8Buf[6] = (uint8)(u16Sz); in nm_i2c_read_block()
203 strI2c.pu8Buf = au8Buf; in nm_i2c_read_block()
204 strI2c.u16Sz = sizeof(au8Buf); in nm_i2c_read_block()
[all …]