Commit d69438d
committed
Remove 16-bit I2C read helper functions
Remove Read16, ReadRegister16, and ReadRegister16DelayUs from lib-gd32/include/i2c.h. These helpers read two bytes into a local buffer and combine them into a 16-bit value; they were removed to simplify the I2C API and avoid implicit endianness/usage assumptions. Callers should use the existing Read/ReadReg interfaces and handle byte packing explicitly if needed.1 parent 268dce3 commit d69438d
1 file changed
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
| |||
114 | 108 | | |
115 | 109 | | |
116 | 110 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 111 | | |
131 | 112 | | |
132 | 113 | | |
| |||
0 commit comments