Page 1 of 1

DS1307 problem

PostPosted: Sat Aug 29, 2020 12:33 pm
by RKS
Hi all,
i am facing problem while writing address location and data on I2C driver.I am using MPLAB harmony v3 generated I2C driver to set the data on DS1307(RTC).
DRV_I2C_WriteTransfer( const DRV_HANDLE handle,uint16_t address,void* const writeBuffer,const size_t writeSize) using this function i need to set time on rtc, but in function argument there handle,slave address(as 0xD0 when write), data buffer, and size of data buffer.kindly some one guide me how to write memory address along with data using this function.