DragonProbe/bsp/stm32f072disco/i2c_tinyusb.c

26 lines
528 B
C

#include "protocfg.h"
#include "i2ctinyusb.h"
__attribute__((__const__))
enum ki2c_funcs i2ctu_get_func(void) {
return 0;
}
void i2ctu_init(void) {
}
uint32_t i2ctu_set_freq(uint32_t freq) {
return 0;
}
enum itu_status i2ctu_write(enum ki2c_flags flags, enum itu_command startstopflags,
uint16_t addr, const uint8_t* buf, size_t len) {
return ITU_STATUS_IDLE;
}
enum itu_status i2ctu_read(enum ki2c_flags flags, enum itu_command startstopflags,
uint16_t addr, uint8_t* buf, size_t len) {
return ITU_STATUS_IDLE;
}