USRP Hardware Driver and USRP Manual  Version: 003.008.002-0-ge9d11b35
UHD and USRP Manual
nirio_driver_iface.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <uhd/transport/nirio/status.h>
#include <uhd/config.hpp>
#include <IOKit/IOKitLib.h>

Go to the source code of this file.

Classes

struct  nirio_driver_iface::rio_mmap_t
 

Namespaces

 nirio_driver_iface
 

Macros

#define CTL_CODE(a, controlCode, b, c)   (controlCode)
 

Typedefs

typedef io_connect_t nirio_driver_iface::rio_dev_handle_t
 

Functions

nirio_status nirio_driver_iface::rio_open (const std::string &device_path, rio_dev_handle_t &device_handle)
 
void nirio_driver_iface::rio_close (rio_dev_handle_t &device_handle)
 
bool nirio_driver_iface::rio_isopen (rio_dev_handle_t device_handle)
 
nirio_status nirio_driver_iface::rio_ioctl (rio_dev_handle_t device_handle, uint32_t ioctl_code, const void *write_buf, size_t write_buf_len, void *read_buf, size_t read_buf_len)
 
nirio_status nirio_driver_iface::rio_mmap (rio_dev_handle_t device_handle, uint16_t memory_type, size_t size, bool writable, rio_mmap_t &map)
 
nirio_status nirio_driver_iface::rio_munmap (rio_mmap_t &map)
 

Variables

const uint32_t nirio_driver_iface::NIRIO_IOCTL_BASE = 0x800
 
const uint32_t nirio_driver_iface::NIRIO_IOCTL_SYNCOP
 
const uint32_t nirio_driver_iface::NIRIO_IOCTL_GET_IFACE_NUM
 Get the interface number for a device. More...
 
const uint32_t nirio_driver_iface::NIRIO_IOCTL_GET_SESSION
 Gets a previously opened session to a device. More...
 
const uint32_t nirio_driver_iface::NIRIO_IOCTL_POST_OPEN
 Called after opening a session. More...
 
const uint32_t nirio_driver_iface::NIRIO_IOCTL_PRE_CLOSE
 Called before closing a session. More...
 

Macro Definition Documentation

◆ CTL_CODE

#define CTL_CODE (   a,
  controlCode,
  b,
 
)    (controlCode)