RIT_Error RIT_DisableJob(RIT_Job job)
Exclude this job from the RIT handler queue.
RIT_Error RIT_EnableJob(RIT_Job job)
Include this job in the RIT handler queue.
u32 RIT_GetJobsCount(void)
Returns the number of jobs in the job queue.
RIT_Error RIT_SetJobMultiplierFactor(RIT_Job job, u8 multiplier_factor)
Sets the multiplier factor for the given job.
void RIT_ClearJobs(void)
Clears the job queue.
RIT_Error RIT_RemoveJob(RIT_Job job)
Removes a job from the RIT interrupt handler job queue.
u8 RIT_GetJobMultiplierFactor(RIT_Job job)
Returns the multiplier factor for the given job.
RIT_Error RIT_AddJob(RIT_Job job, u8 multiplier_factor)
void RIT_Deinit(void)
De-initializes the RIT, by removing every job and disconnecting power.
void RIT_Disable(void)
Disables the RIT entirely (stops counting).
bool RIT_IsEnabled(void)
Returns whether the RIT is counting or not.
void RIT_Enable(void)
Enables the RIT counting.
RIT_Error RIT_Init(MEM_Allocator *const alloc, u32 ival_ms, u16 int_priority)
Initialize the RIT.
u32 RIT_GetIntervalMs(void)
Returns the interval in millis that RIT uses for its interrupts.
void(* RIT_Job)(void)
RIT interrupt function pointer for jobs that need to be executed in the RIT interrupt handler.