SD.writeSector

Name
SD.writeSector - write partial sector

Description

 * DRESULT SD.writeSector ( u8 *buff, u32 sa )


 * Write a partial sector to an SD card

Syntax
SD.writeSector( buff, sa );


 * Parameters
 * buff - Pointer to the bytes to be written (NULL:Initiate/Finalize sector write)
 * sa - Number of bytes to send, Sector number (LBA) or zero


 * Returns/Output
 * DRESULT -
 * RES_OK - 0: Function succeeded
 * RES_ERROR - 1: Disk error
 * RES_NOTRDY - 2: Not ready
 * RES_PARER - 3: Invalid parameter