Go to the documentation of this file. 94 #ifndef MRF_COMMON_IO_H 95 #define MRF_COMMON_IO_H 101 #include <epicsEndian.h> 102 #include <epicsMMIO.h> 114 #define READ32(base,offset) NAT_READ32(base,offset) 119 #define WRITE32(base,offset,value) NAT_WRITE32(base,offset,value) 124 #define BITSET32(base,offset,mask) BITSET(NAT,32,base,offset,mask) 129 #define BITCLR32(base,offset,mask) BITCLR(NAT,32,base,offset,mask) 134 #define BITFLIP32(base,offset,mask) BITFLIP(NAT,32,base,offset,mask) 145 #define NAT_READ32(base,offset) \ 146 nat_ioread32 ((epicsUInt8 *)(base) + U32_ ## offset) 148 #define NAT_WRITE32(base,offset,value) \ 149 nat_iowrite32 (((epicsUInt8 *)(base) + U32_ ## offset), value) 164 #define BE_READ32(base,offset) \ 165 be_ioread32 ((epicsUInt8 *)(base) + U32_ ## offset) 170 #define BE_WRITE32(base,offset,value) \ 171 be_iowrite32 (((epicsUInt8 *)(base) + U32_ ## offset), value) 187 #define LE_READ8(base,offset) \ 188 ioread8 ((epicsUInt8 *)(base) + U8_ ## offset) 189 #define LE_READ16(base,offset) \ 190 le_ioread16 ((epicsUInt8 *)(base) + U16_ ## offset) 191 #define LE_READ32(base,offset) \ 192 le_ioread32 ((epicsUInt8 *)(base) + U32_ ## offset) 197 #define LE_WRITE8(base,offset,value) \ 198 iowrite8 (((epicsUInt8 *)(base) + U8_ ## offset), value) 199 #define LE_WRITE16(base,offset,value) \ 200 le_iowrite16 (((epicsUInt8 *)(base) + U16_ ## offset), value) 201 #define LE_WRITE32(base,offset,value) \ 202 le_iowrite32 (((epicsUInt8 *)(base) + U32_ ## offset), value)