(Optional) dev_write

Declaration

int dev_write(int fd, unsigned int buffSize, unsigned char *buff)

Parameter Description

Table 1 Parameter description

Parameter

Type

Description

fd

int

Device file descriptor

buffSize

unsigned int

Size of the array cache space

buff

unsigned char*

Cache used to transfer data

Function Description

A reserved device write and read API for developer use.