src % grep i2c_ bcm2835.*
bcm2835.c:static int i2c_byte_wait_us = 0;
bcm2835.c:int bcm2835_i2c_begin(void)
bcm2835.c: i2c_byte_wait_us = ((float)cdiv / BCM2835_CORE_CLK_HZ) * 1000000 * 9;
bcm2835.c:void bcm2835_i2c_end(void)
bcm2835.c:void bcm2835_i2c_setSlaveAddress(uint8_t addr)
bcm2835.c:void bcm2835_i2c_setClockDivider(uint16_t divider)
bcm2835.c: i2c_byte_wait_us = ((float)divider / BCM2835_CORE_CLK_HZ) * 1000000 * 9;
bcm2835.c:void bcm2835_i2c_set_baudrate(uint32_t baudrate)
bcm2835.c: bcm2835_i2c_setClockDivider( (uint16_t)divider );
bcm2835.c:uint8_t bcm2835_i2c_write(const char * buf, uint32_t len)
bcm2835.c:uint8_t bcm2835_i2c_read(char* buf, uint32_t len)
bcm2835.c:uint8_t bcm2835_i2c_read_register_rs(char* regaddr, char* buf, uint32_t len)
bcm2835.c: bcm2835_delayMicroseconds(i2c_byte_wait_us * 3);
bcm2835.c:uint8_t bcm2835_i2c_write_read_rs(char* cmds, uint32_t cmds_len, char* buf, uint32_t buf_len)
bcm2835.c: bcm2835_delayMicroseconds(i2c_byte_wait_us * (cmds_len + 1));
bcm2835.h: bcm2835_spi_begin() and bcm2835_i2c_begin() will return false and all
bcm2835.h: The bcm2835_i2c_* functions allow you to control the BCM 2835 BSC interface,
bcm2835.h: \version 1.18 Added bcm2835_i2c_* functions. Changes to bcm2835_delayMicroseconds:
bcm2835.h: \version 1.23 Added bcm2835_i2c_set_baudrate and bcm2835_i2c_read_register_rs.
bcm2835.h: Improvements to bcm2835_i2c_read and bcm2835_i2c_write functions
bcm2835.h: \version 1.34 Added bcm2835_i2c_write_read_rs() which writes an arbitrary number of bytes,
bcm2835.h: Fixed possibly incorrect reads in bcm2835_i2c_read_register_rs, patch from Eckhardt Ulrich.<br>
bcm2835.h: Added patch from Eckhardt Ulrich that fixed problems that could cause hanging with bcm2835_i2c_read_register_rs
bcm2835.h: bcm2835_spi_begin() and bcm2835_i2c_begin() will now return 0 if not running as root
bcm2835.h: Fixed a bug in bcm2835_i2c_read reported by Charles Hayward where a noisy I2C line cold cause a seg fault by
bcm2835.h: Specifies the reason codes for the bcm2835_i2c_write and bcm2835_i2c_read functions.
bcm2835.h: You should call bcm2835_i2c_end() when all I2C functions are complete to return the pins to
bcm2835.h: \sa bcm2835_i2c_end()
bcm2835.h: extern int bcm2835_i2c_begin(void);
bcm2835.h: extern void bcm2835_i2c_end(void);
bcm2835.h: extern void bcm2835_i2c_setSlaveAddress(uint8_t addr);
bcm2835.h: extern void bcm2835_i2c_setClockDivider(uint16_t divider);
bcm2835.h: the equivalent I2C clock divider. ( see \sa bcm2835_i2c_setClockDivider)
bcm2835.h: extern void bcm2835_i2c_set_baudrate(uint32_t baudrate);
bcm2835.h: (as previously set by \sa bcm2835_i2c_setSlaveAddress)
bcm2835.h: extern uint8_t bcm2835_i2c_write(const char * buf, uint32_t len);
bcm2835.h: (as previously set by \sa bcm2835_i2c_setSlaveAddress)
bcm2835.h: extern uint8_t bcm2835_i2c_read(char* buf, uint32_t len);
bcm2835.h: \sa bcm2835_i2c_write
bcm2835.h: \sa bcm2835_i2c_read
bcm2835.h: Will read from the slave previously set by \sa bcm2835_i2c_setSlaveAddress
bcm2835.h: extern uint8_t bcm2835_i2c_read_register_rs(char* regaddr, char* buf, uint32_t len);
bcm2835.h: Will write to and read from the slave previously set by \sa bcm2835_i2c_setSlaveAddress
bcm2835.h: extern uint8_t bcm2835_i2c_write_read_rs(char* cmds, uint32_t cmds_len, char* buf, uint32_t buf_len);