Typedefs | |
typedef void(* | ATDcallback )(int module, volatile u16 *data_array, volatile u8 *status_array, void *privatedata) |
Functions | |
void | AtoDst_sample (taskdata module) |
void | Install_AtoDcallback (int module, ATDcallback callback, void *privatedata) |
void | Remove_AtoDcallback (int module) |
|
analog to digital callback function. This is a type of function that can be installed as a callback to an AtoD conversion
|
|
Start an AtoD sample This function starts a single AtoD sample. When it's complete it calls it's callback if it's installed. Note that samples can be collected faster than interrupts can be processed so if your IPAC is going to do anything but collect samples it should insert a delay between samplings.
|
|
Install an AtoD callback This function installs a callback function which is called when an AtoD sample is completed
|
|
Remove an AtoD callback This function removes a callback function from an AtoD module
|