Name
i2c_init —
initializes I2C hardware.
Synopsis
#include <i2c.h>
unsigned int i2c_init ( | freq) ; | |
unsigned int freq
;
Arguments
freq
I2C bus clock frequency in kHz
Description
Initializes the I2C hardware and returns the actual bus clock
frequency configured. Should be invoked before any other function
in the I2C module is invoked.