libpynq (release 5EWC0-2023 version 0.2.0 of 2023-08-28 20:33)
|
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | iic_index_t { IIC0 = 0 , IIC1 = 1 , NUM_IICS = 2 } |
Functions | |
void | iic_init (const iic_index_t iic) |
void | iic_destroy (const iic_index_t iic) |
bool | iic_read_register (const iic_index_t iic, const uint8_t addr, const uint8_t reg, uint8_t *data, uint16_t length) |
bool | iic_write_register (const iic_index_t iic, const uint8_t addr, const uint8_t reg, uint8_t *data, uint16_t length) |