Name

w1_read_block — Reads a series of bytes.

Synopsis

u8 w1_read_block (struct w1_master * dev,
 u8 * buf,
 int len);
 

Arguments

struct w1_master * dev

the master device

u8 * buf

pointer to the buffer to fill

int len

the number of bytes to read

Return

the number of bytes read