You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
304 B
17 lines
304 B
4 months ago
|
#ifndef __PD_SRC_CAP_H__
|
||
|
#define __PD_SRC_CAP_H__
|
||
|
#include <stdint.h>
|
||
|
typedef enum
|
||
|
{
|
||
|
PDO_45W = 0,
|
||
|
PDO_25W,
|
||
|
PDO_20W,
|
||
|
PDO_15W,
|
||
|
PDO_10W,
|
||
|
} pdo_e;
|
||
|
|
||
|
void pd_src_cap_update_run(uint8_t port);
|
||
|
void pd_src_cap_update(uint8_t port, pdo_e idx);
|
||
|
uint8_t pd_src_cap_get_idx(uint8_t port);
|
||
|
#endif
|