nidas v1.2.3
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.
 
#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.
 
#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

◆ GPIO_MM_CT_CLOCK_HZ

#define GPIO_MM_CT_CLOCK_HZ   20000000

◆ GPIO_MM_EVENT_GET_STATUS

#define GPIO_MM_EVENT_GET_STATUS    _IOR(GPIO_MM_IOC_MAGIC,3,struct GPIO_MM_event_status)

◆ GPIO_MM_EVENT_START

#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().

◆ GPIO_MM_FCNTR_GET_STATUS

#define GPIO_MM_FCNTR_GET_STATUS    _IOR(GPIO_MM_IOC_MAGIC,1,struct GPIO_MM_fcntr_status)

◆ GPIO_MM_FCNTR_START

#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().

◆ GPIO_MM_IOC_MAGIC

#define GPIO_MM_IOC_MAGIC   'g'

◆ GPIO_MM_IOC_MAXNR

#define GPIO_MM_IOC_MAXNR   3