nidas  v1.2-1520
Classes | Macros
gpio_mm.h File Reference
#include <sys/ioctl.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  GPIO_MM_fcntr_config
 
struct  GPIO_MM_fcntr_status
 
struct  GPIO_MM_event_config
 
struct  GPIO_MM_event_status
 

Macros

#define GPIO_MM_IOC_MAGIC   'g'
 
#define GPIO_MM_FCNTR_START   _IOW(GPIO_MM_IOC_MAGIC,0,struct GPIO_MM_fcntr_config)
 Counter Ioctls. More...
 
#define GPIO_MM_FCNTR_GET_STATUS   _IOR(GPIO_MM_IOC_MAGIC,1,struct GPIO_MM_fcntr_status)
 
#define GPIO_MM_EVENT_START   _IOW(GPIO_MM_IOC_MAGIC,2,struct GPIO_MM_event_config)
 Event Ioctls. More...
 
#define GPIO_MM_EVENT_GET_STATUS   _IOR(GPIO_MM_IOC_MAGIC,3,struct GPIO_MM_event_status)
 
#define GPIO_MM_IOC_MAXNR   3
 
#define GPIO_MM_CT_CLOCK_HZ   20000000
 

Macro Definition Documentation

#define GPIO_MM_CT_CLOCK_HZ   20000000
#define GPIO_MM_EVENT_GET_STATUS   _IOR(GPIO_MM_IOC_MAGIC,3,struct GPIO_MM_event_status)
#define GPIO_MM_EVENT_START   _IOW(GPIO_MM_IOC_MAGIC,2,struct GPIO_MM_event_config)

Event Ioctls.

Referenced by gpio_mm_ioctl_event(), and nidas::dynld::DSC_Event::open().

#define GPIO_MM_FCNTR_GET_STATUS   _IOR(GPIO_MM_IOC_MAGIC,1,struct GPIO_MM_fcntr_status)
#define GPIO_MM_FCNTR_START   _IOW(GPIO_MM_IOC_MAGIC,0,struct GPIO_MM_fcntr_config)

Counter Ioctls.

Referenced by gpio_mm_ioctl_fcntr(), and nidas::dynld::DSC_FreqCounter::open().

#define GPIO_MM_IOC_MAGIC   'g'
#define GPIO_MM_IOC_MAXNR   3