37#define PIT_TICK_FREQ 1193182
47 typedef void (*ChangeOut)(
void * context,
int timerIndex);
67 void setCallbacks(
void * context, ChangeOut changeOut) {
69 m_changeOut = changeOut;
76 void write(
int reg, uint8_t value);
77 uint8_t read(
int reg);
79 bool getOut(
int timerIndex) {
return m_timer[timerIndex].out; }
80 bool getGate(
int timerIndex) {
return m_timer[timerIndex].gate; }
82 void setGate(
int timerIndex,
bool value);
84 TimerInfo
const & timerInfo(
int timerIndex) {
return m_timer[timerIndex]; }
89 void changeOut(
int timer,
bool value);
96 ChangeOut m_changeOut;
97 uint64_t m_lastTickTime;
This file is the all in one include file. Application can just include this file to use FabGL library...