37#define PIT_TICK_FREQ 1193182
40#define PIT_FRC1_PRESCALER FRC_TIMER_PRESCALER_16
41#define PIT_FRC1_FREQUENCY 5000000
51 typedef void (*ChangeOut)(
void * context,
int timerIndex);
71 void setCallbacks(
void * context, ChangeOut changeOut) {
73 m_changeOut = changeOut;
80 void write(
int reg, uint8_t value);
81 uint8_t read(
int reg);
83 bool getOut(
int timerIndex) {
return m_timer[timerIndex].out; }
84 bool getGate(
int timerIndex) {
return m_timer[timerIndex].gate; }
86 void setGate(
int timerIndex,
bool value);
88 TimerInfo
const & timerInfo(
int timerIndex) {
return m_timer[timerIndex]; }
93 void changeOut(
int timer,
bool value);
100 ChangeOut m_changeOut;
101 uint32_t m_lastTickTime;
This file is the all in one include file. Application can just include this file to use FabGL library...