aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/Core/Inc/QC3.h
blob: 1a99fe12b0f2fc715cf84abddee5205b385ab08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * QC3.h
 *
 *  Created on: 29 May 2020
 *      Author: Ralim
 */

#ifndef INC_QC3_H_
#define INC_QC3_H_
#include "stdint.h"
#ifdef __cplusplus
extern "C" {
#endif
void seekQC(int16_t Vx10, uint16_t divisor);
void startQC(uint16_t divisor); // Tries to negotiate QC for highest voltage, must be run after
bool hasQCNegotiated();         // Returns true if a QC negotiation worked (we are using QC)
#ifdef __cplusplus
}
#endif

#endif /* INC_QC3_H_ */