Commit 8d3b1d3
authored
Add functions for USBPD #175
Add functions for usbpd.
uint8_t usbpd_sink_get_pdo_num(void);
uint8_t usbpd_sink_get_pps_num(void);
uint16_t usbpd_sink_get_pdo_voltage(int index);
uint16_t usbpd_sink_get_pdo_current(int index);
uint16_t usbpd_sink_get_pps_min_voltage(int index);
uint16_t usbpd_sink_get_pps_max_voltage(int index);
uint16_t usbpd_sink_get_pps_current(int index);
openwch/arduino_core_ch32#1751 parent 30bb648 commit 8d3b1d3
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
205 | 213 | | |
206 | 214 | | |
207 | 215 | | |
| |||
0 commit comments