mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
26 lines
441 B
C++
26 lines
441 B
C++
/*
|
|
* fusbpd.cpp
|
|
*
|
|
* Created on: 13 Jun 2020
|
|
* Author: Ralim
|
|
*/
|
|
#include "configuration.h"
|
|
#ifdef POW_PD
|
|
#include "BSP.h"
|
|
#include "I2CBB.hpp"
|
|
#include "fusb302b.h"
|
|
#include "int_n.h"
|
|
#include "policy_engine.h"
|
|
|
|
#include <fusbpd.h>
|
|
#include <pd.h>
|
|
|
|
void fusb302_start_processing() {
|
|
/* Initialize the FUSB302B */
|
|
if (fusb_setup()) {
|
|
PolicyEngine::init();
|
|
InterruptHandler::init();
|
|
}
|
|
}
|
|
#endif
|