Commit 30bb648
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 c1fda54 commit 30bb648
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
41 | 76 | | |
42 | 77 | | |
43 | 78 | | |
| |||
0 commit comments