23 lines
473 B
C
23 lines
473 B
C
/*
|
|
* BSP_PD.c
|
|
*
|
|
* Created on: 21 Jul 2020
|
|
* Author: Ralim
|
|
*/
|
|
|
|
#include "BSP_PD.h"
|
|
#include "Model_Config.h"
|
|
#ifdef POW_PD
|
|
/*
|
|
* An array of all of the desired voltages & minimum currents in preferred order
|
|
*/
|
|
const uint16_t USB_PD_Desired_Levels[] = {
|
|
//mV desired input, mA minimum required current
|
|
12000, 2400, //12V @ 2.4A
|
|
9000, 2000, //9V @ 2A
|
|
5000, 100, //5V @ whatever
|
|
|
|
};
|
|
const uint8_t USB_PD_Desired_Levels_Len = 3;
|
|
#endif
|