Compare commits
2 Commits
20870dc3e3
...
9d8653b528
Author | SHA1 | Date |
---|---|---|
true | 9d8653b528 | |
true | 8b3c45cebd |
|
@ -1,3 +1,4 @@
|
||||||
/code/ch32v003_bootloader/obj
|
/firmware/ch32v003_bootloader/obj
|
||||||
/code/firmware/obj
|
/firmware/ch32v003_bootloader/CH32V003_BL.launch
|
||||||
/code/ch32v003_bootloader/CH32V003_BL.launch
|
/firmware/retro_tech_fw/obj
|
||||||
|
/firmware/retro_tech_fw/retro_tech_fw.launch
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* i2c.h
|
|
||||||
*
|
|
||||||
* Created on: Jul 27, 2024
|
|
||||||
* Author: true
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef USER_SRC_I2C_H_
|
|
||||||
#define USER_SRC_I2C_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void i2c_init();
|
|
||||||
|
|
||||||
void i2c_read_addr1b(uint8_t devaddr, uint8_t addr, uint8_t *data, uint8_t len);
|
|
||||||
void i2c_write_addr1b(uint8_t devaddr, uint8_t addr, uint8_t *data, uint8_t len);
|
|
||||||
|
|
||||||
int8_t i2c_ack_poll(uint8_t devaddr);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* USER_SRC_I2C_H_ */
|
|
|
@ -8,6 +8,7 @@ encoding//periph/inc/ch32v00x_pwr.h=GBK
|
||||||
encoding//periph/inc/ch32v00x_rcc.h=GBK
|
encoding//periph/inc/ch32v00x_rcc.h=GBK
|
||||||
encoding//periph/src/ch32v00x_adc.c=GBK
|
encoding//periph/src/ch32v00x_adc.c=GBK
|
||||||
encoding//periph/src/ch32v00x_dbgmcu.c=GBK
|
encoding//periph/src/ch32v00x_dbgmcu.c=GBK
|
||||||
|
encoding//periph/src/ch32v00x_flash.c=GBK
|
||||||
encoding//periph/src/ch32v00x_gpio.c=GBK
|
encoding//periph/src/ch32v00x_gpio.c=GBK
|
||||||
encoding//periph/src/ch32v00x_i2c.c=GBK
|
encoding//periph/src/ch32v00x_i2c.c=GBK
|
||||||
encoding//periph/src/ch32v00x_misc.c=GBK
|
encoding//periph/src/ch32v00x_misc.c=GBK
|
||||||
|
@ -42,3 +43,4 @@ encoding//user/src/ui.h=GBK
|
||||||
encoding//user/system_ch32v00x.c=GBK
|
encoding//user/system_ch32v00x.c=GBK
|
||||||
encoding//user/system_ch32v00x.h=UTF-8
|
encoding//user/system_ch32v00x.h=UTF-8
|
||||||
encoding/CH32V003F4P6.launch=GBK
|
encoding/CH32V003F4P6.launch=GBK
|
||||||
|
encoding/retro_tech_fw.launch=GBK
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue