Initial Commit

This commit is contained in:
SSAnkur committed 2026-10-20 15:33:46 +06:00
commit 9825b9b4f8
15 files changed
+1439

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#pragma once
#include "tl_common.h"
/* Polled I2C master on the TLSR825x hardware block. Addresses are 7-bit.
* All functions return 0 on success, non-zero on NAK. */
void i2c_bus_init(void);
int i2c_write(u8 addr, const u8 *buf, u32 len);
int i2c_read(u8 addr, u8 *buf, u32 len);