mrfioc2  2.3.0
Macros | Functions | Variables
mrmspi.cpp File Reference
#include <stdio.h>
#include <epicsThread.h>
#include <mrfCommonIO.h>
#include "mrmspi.h"
#include <epicsExport.h>
Include dependency graph for mrmspi.cpp:

Go to the source code of this file.

Macros

#define epicsExportSharedSymbols
 
#define U32_SPIDData   0x0
 
#define U32_SPIDCtrl   0x4
 
#define SPIDCtrl_Overrun   0x80
 
#define SPIDCtrl_RecvRdy   0x40
 
#define SPIDCtrl_SendRdy   0x20
 
#define SPIDCtrl_SendEpt   0x10
 
#define SPIDCtrl_TxOver   0x08
 
#define SPIDCtrl_RxOver   0x04
 
#define SPIDCtrl_OE   0x02
 
#define SPIDCtrl_SS   0x01
 

Functions

 epicsExportAddress (int, mrmSPIDebug)
 

Variables

int mrmSPIDebug
 

Macro Definition Documentation

◆ epicsExportSharedSymbols

#define epicsExportSharedSymbols

Definition at line 17 of file mrmspi.cpp.

◆ SPIDCtrl_OE

#define SPIDCtrl_OE   0x02

Definition at line 31 of file mrmspi.cpp.

◆ SPIDCtrl_Overrun

#define SPIDCtrl_Overrun   0x80

Definition at line 25 of file mrmspi.cpp.

◆ SPIDCtrl_RecvRdy

#define SPIDCtrl_RecvRdy   0x40

Definition at line 26 of file mrmspi.cpp.

◆ SPIDCtrl_RxOver

#define SPIDCtrl_RxOver   0x04

Definition at line 30 of file mrmspi.cpp.

◆ SPIDCtrl_SendEpt

#define SPIDCtrl_SendEpt   0x10

Definition at line 28 of file mrmspi.cpp.

◆ SPIDCtrl_SendRdy

#define SPIDCtrl_SendRdy   0x20

Definition at line 27 of file mrmspi.cpp.

◆ SPIDCtrl_SS

#define SPIDCtrl_SS   0x01

Definition at line 32 of file mrmspi.cpp.

◆ SPIDCtrl_TxOver

#define SPIDCtrl_TxOver   0x08

Definition at line 29 of file mrmspi.cpp.

◆ U32_SPIDCtrl

#define U32_SPIDCtrl   0x4

Definition at line 24 of file mrmspi.cpp.

◆ U32_SPIDData

#define U32_SPIDData   0x0

Definition at line 23 of file mrmspi.cpp.

Function Documentation

◆ epicsExportAddress()

epicsExportAddress ( int  ,
mrmSPIDebug   
)

Variable Documentation

◆ mrmSPIDebug

int mrmSPIDebug

Definition at line 34 of file mrmspi.cpp.