#include <asf.h>
#include <string.h>
#include <stdio.h>
#include "d_i2c.h"
Go to the source code of this file.
|
int | i2cInit (void) |
|
int | i2cRead (uint8_t chip_addr, uint32_t address, uint8_t address_len, void *data, uint32_t len) |
|
int | i2cWrite (uint8_t chip_addr, uint32_t address, uint8_t address_len, void *data, uint32_t len) |
|
◆ BOARD_ID_TWI
◆ BOARD_TWI
◆ TWI_CLK
◆ i2cInit()
◆ i2cRead()
int i2cRead |
( |
uint8_t |
chip_addr, |
|
|
uint32_t |
address, |
|
|
uint8_t |
address_len, |
|
|
void * |
data, |
|
|
uint32_t |
len |
|
) |
| |
◆ i2cWrite()
int i2cWrite |
( |
uint8_t |
chip_addr, |
|
|
uint32_t |
address, |
|
|
uint8_t |
address_len, |
|
|
void * |
data, |
|
|
uint32_t |
len |
|
) |
| |