libpynq (release 5EWC0-2023 version 0.2.2 of 2023-09-24 22:22)
Loading...
Searching...
No Matches
iic.c File Reference
#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>
Include dependency graph for iic.c:

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)
 

Macro Definition Documentation

◆ IIC_REG_SOFT_RESET

#define IIC_REG_SOFT_RESET   (0x40 / 4)

Definition at line 35 of file iic.c.