Hello
I have an problem using I2C on my custom board which uses an Nrf51422 SOC. I have an RTC chip connected to it and I have no idea how to use your libraries.
The rtc 7 bit slave address is 0xDE. And they have registers which needs to be accessed according to their datasheet. As per your library for TWI I only see a function such as nrf_drv_twi_tx(nrf_drv_twi_t const * const p_instance, uint8_t address,uint8_t const * p_data,uint32_t length, bool xfer_pending); which doesn't have registers.
If you could please help me how to Read/Write data into the I2C and to its Registers.
Regards Darshan N