libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
|
#include "iic.h"
#include "arm_shared_memory_system.h"
#include "log.h"
#include "xiic_l.h"
#include <platform.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | IIC_REG_SOFT_RESET (0x40 / 4) |
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 data_length) |
bool | iic_write_register (const iic_index_t iic, const uint8_t addr, const uint8_t reg, uint8_t *data, uint16_t data_length) |