Hardware Abstraction Layer for FreeRTOS
capture.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <system.h>
#include <hal.h>
Include dependency graph for capture.h:

Go to the source code of this file.

Data Structures

struct  capture_generic
 

Functions

struct capture * capture_init (uint32_t index)
 
int32_t capture_deinit (struct capture *capture)
 
int32_t capture_setCallback (struct capture *capture, bool(*callback)(struct capture *capture, uint32_t index, uint64_t time, void *data), void *data)
 
int32_t capture_setPeriod (struct capture *capture, uint64_t us)
 
uint64_t capture_getTime (struct capture *capture)
 
uint64_t capture_getChannelTime (struct capture *capture)