Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
rit_types.h
Go to the documentation of this file.
1#ifndef __RIT_TYPES_H
2#define __RIT_TYPES_H
3
4#define _RIT_JOB
5
8#define RIT_NO_DIVIDER 1
9
35
38typedef void (*RIT_Job)(void);
39
41// typedef i16 RIT_JobID;
42
43#endif
void(* RIT_Job)(void)
RIT interrupt function pointer for jobs that need to be executed in the RIT interrupt handler.
Definition rit_types.h:38
RIT_Error
Definition rit_types.h:11
@ RIT_ERR_DURING_PUSHBACK
An error occurred during the push back of the job in the list.
Definition rit_types.h:30
@ RIT_ERR_INVALID_MULTIPLIER
An invalid multiplier factor was specified (must be > 0).
Definition rit_types.h:24
@ RIT_ERR_INT_PRIO_INVALID
An invalid priority was specified (must be 0 <= prio <= 15). This is not necessarily an error,...
Definition rit_types.h:21
@ RIT_ERR_OK
No errors.
Definition rit_types.h:13
@ RIT_ERR_JOB_NOT_FOUND
The job specified was not found in the handler queue.
Definition rit_types.h:27
@ RIT_ERR_DURING_REMOVEAT
An error occurred during the removal of the job from the list.
Definition rit_types.h:33
@ RIT_ERR_NO_MORE_SPACE_FOR_JOBS
An attempt was made to assign another job to the RIT, but the data structure is full.
Definition rit_types.h:16