C# Class IOSharp.Exmples.MFRC522.SPIApi

Datei anzeigen Open project: GerardSoleCa/IOSharp-netmf-Linux

Public Properties

Property Type Description
AnalogTestReg byte
AutoTestReg byte
BitFramingReg byte
CRCResultRegL byte
CRCResultRegM byte
CWGsPReg byte
CollReg byte
ComIEnReg byte
ComIrqReg byte
CommandReg byte
ControlReg byte
DemodReg byte
DivIrqReg byte
DivlEnReg byte
ERR int
ErrorReg byte
FIFODataReg byte
FIFOLevelReg byte
GsNReg byte
MifareReg byte
ModGsPReg byte
ModWidthReg byte
ModeReg byte
NOTAGERR int
OK int
PCD_AUTHENT byte
PCD_CALCCRC byte
PCD_IDLE byte
PCD_MEM byte
PCD_RECEIVE byte
PCD_RESETPHASE byte
PCD_TRANSCEIVE byte
PCD_TRANSMIT byte
PICC_ANTICOLL byte
PICC_AUTHENT1A byte
PICC_AUTHENT1B byte
PICC_DECREMENT byte
PICC_HALT byte
PICC_INCREMENT byte
PICC_READ byte
PICC_REQALL byte
PICC_REQIDL byte
PICC_RESTORE byte
PICC_SElECTTAG byte
PICC_TRANSFER byte
PICC_WRITE byte
RFCfgReg byte
Reserved00 byte
Reserved10 byte
Reserved11 byte
Reserved12 byte
Reserved13 byte
Reserved14 byte
Reserved20 byte
Reserved21 byte
Reserved22 byte
Reserved30 byte
Reserved31 byte
Reserved32 byte
Reserved33 byte
Reserved34 byte
Reserver01 byte
RxModeReg byte
RxSelReg byte
RxThresholdReg byte
SerialSpeedReg byte
Status1Reg byte
Status2Reg byte
TCounterValueRegH byte
TCounterValueRegL byte
TModeReg byte
TPrescalerReg byte
TReloadRegH byte
TReloadRegL byte
TestADCReg byte
TestBusReg byte
TestDAC1Reg byte
TestDAC2Reg byte
TestPinEnReg byte
TestPinValueReg byte
TestSel1Reg byte
TestSel2Reg byte
TxAutoReg byte
TxControlReg byte
TxModeReg byte
TxSelReg byte
VersionReg byte
WaterLevelReg byte

Public Methods

Method Description
ConfigureSPI ( ) : void
MFRC522Init ( ) : void
MFRC522Stop ( ) : void
ReadReg_MFRC522 ( byte addr ) : byte
ReadSerialNumber ( ) : byte[]
ReadSerialNumberString ( ) : String
ReadTagType ( byte reqMode ) : byte[]
ReadTagTypeString ( byte reqMode ) : String
TestMFRC522 ( ) : String

Private Methods

Method Description
AntennaOff ( ) : void
AntennaOn ( ) : void
ClearBitMask ( byte reg, byte mask ) : void
FormCommand ( byte cmd ) : byte
ReadData_MFRC522 ( byte addr ) : byte[]
ResetDevice ( ) : void
SetBitMask ( byte reg, byte mask ) : void
ToCard ( byte command, byte sendData ) : byte[]
WriteData_MFRC522 ( byte addr, byte data ) : void
WriteReg_MFRC522 ( byte addr, byte data ) : void

Method Details

ConfigureSPI() public method

public ConfigureSPI ( ) : void
return void

MFRC522Init() public method

public MFRC522Init ( ) : void
return void

MFRC522Stop() public method

public MFRC522Stop ( ) : void
return void

ReadReg_MFRC522() public method

public ReadReg_MFRC522 ( byte addr ) : byte
addr byte
return byte

ReadSerialNumber() public method

public ReadSerialNumber ( ) : byte[]
return byte[]

ReadSerialNumberString() public method

public ReadSerialNumberString ( ) : String
return String

ReadTagType() public method

public ReadTagType ( byte reqMode ) : byte[]
reqMode byte
return byte[]

ReadTagTypeString() public method

public ReadTagTypeString ( byte reqMode ) : String
reqMode byte
return String

TestMFRC522() public method

public TestMFRC522 ( ) : String
return String

Property Details

AnalogTestReg public_oe property

public byte AnalogTestReg
return byte

AutoTestReg public_oe property

public byte AutoTestReg
return byte

BitFramingReg public_oe property

public byte BitFramingReg
return byte

CRCResultRegL public_oe property

public byte CRCResultRegL
return byte

CRCResultRegM public_oe property

public byte CRCResultRegM
return byte

CWGsPReg public_oe property

public byte CWGsPReg
return byte

CollReg public_oe property

public byte CollReg
return byte

ComIEnReg public_oe property

public byte ComIEnReg
return byte

ComIrqReg public_oe property

public byte ComIrqReg
return byte

CommandReg public_oe property

public byte CommandReg
return byte

ControlReg public_oe property

public byte ControlReg
return byte

DemodReg public_oe property

public byte DemodReg
return byte

DivIrqReg public_oe property

public byte DivIrqReg
return byte

DivlEnReg public_oe property

public byte DivlEnReg
return byte

ERR public_oe property

public int ERR
return int

ErrorReg public_oe property

public byte ErrorReg
return byte

FIFODataReg public_oe property

public byte FIFODataReg
return byte

FIFOLevelReg public_oe property

public byte FIFOLevelReg
return byte

GsNReg public_oe property

public byte GsNReg
return byte

MifareReg public_oe property

public byte MifareReg
return byte

ModGsPReg public_oe property

public byte ModGsPReg
return byte

ModWidthReg public_oe property

public byte ModWidthReg
return byte

ModeReg public_oe property

public byte ModeReg
return byte

NOTAGERR public_oe property

public int NOTAGERR
return int

OK public_oe property

public int OK
return int

PCD_AUTHENT public_oe property

public byte PCD_AUTHENT
return byte

PCD_CALCCRC public_oe property

public byte PCD_CALCCRC
return byte

PCD_IDLE public_oe property

public byte PCD_IDLE
return byte

PCD_MEM public_oe property

public byte PCD_MEM
return byte

PCD_RECEIVE public_oe property

public byte PCD_RECEIVE
return byte

PCD_RESETPHASE public_oe property

public byte PCD_RESETPHASE
return byte

PCD_TRANSCEIVE public_oe property

public byte PCD_TRANSCEIVE
return byte

PCD_TRANSMIT public_oe property

public byte PCD_TRANSMIT
return byte

PICC_ANTICOLL public_oe property

public byte PICC_ANTICOLL
return byte

PICC_AUTHENT1A public_oe property

public byte PICC_AUTHENT1A
return byte

PICC_AUTHENT1B public_oe property

public byte PICC_AUTHENT1B
return byte

PICC_DECREMENT public_oe property

public byte PICC_DECREMENT
return byte

PICC_HALT public_oe property

public byte PICC_HALT
return byte

PICC_INCREMENT public_oe property

public byte PICC_INCREMENT
return byte

PICC_READ public_oe property

public byte PICC_READ
return byte

PICC_REQALL public_oe property

public byte PICC_REQALL
return byte

PICC_REQIDL public_oe property

public byte PICC_REQIDL
return byte

PICC_RESTORE public_oe property

public byte PICC_RESTORE
return byte

PICC_SElECTTAG public_oe property

public byte PICC_SElECTTAG
return byte

PICC_TRANSFER public_oe property

public byte PICC_TRANSFER
return byte

PICC_WRITE public_oe property

public byte PICC_WRITE
return byte

RFCfgReg public_oe property

public byte RFCfgReg
return byte

Reserved00 public_oe property

public byte Reserved00
return byte

Reserved10 public_oe property

public byte Reserved10
return byte

Reserved11 public_oe property

public byte Reserved11
return byte

Reserved12 public_oe property

public byte Reserved12
return byte

Reserved13 public_oe property

public byte Reserved13
return byte

Reserved14 public_oe property

public byte Reserved14
return byte

Reserved20 public_oe property

public byte Reserved20
return byte

Reserved21 public_oe property

public byte Reserved21
return byte

Reserved22 public_oe property

public byte Reserved22
return byte

Reserved30 public_oe property

public byte Reserved30
return byte

Reserved31 public_oe property

public byte Reserved31
return byte

Reserved32 public_oe property

public byte Reserved32
return byte

Reserved33 public_oe property

public byte Reserved33
return byte

Reserved34 public_oe property

public byte Reserved34
return byte

Reserver01 public_oe property

public byte Reserver01
return byte

RxModeReg public_oe property

public byte RxModeReg
return byte

RxSelReg public_oe property

public byte RxSelReg
return byte

RxThresholdReg public_oe property

public byte RxThresholdReg
return byte

SerialSpeedReg public_oe property

public byte SerialSpeedReg
return byte

Status1Reg public_oe property

public byte Status1Reg
return byte

Status2Reg public_oe property

public byte Status2Reg
return byte

TCounterValueRegH public_oe property

public byte TCounterValueRegH
return byte

TCounterValueRegL public_oe property

public byte TCounterValueRegL
return byte

TModeReg public_oe property

public byte TModeReg
return byte

TPrescalerReg public_oe property

public byte TPrescalerReg
return byte

TReloadRegH public_oe property

public byte TReloadRegH
return byte

TReloadRegL public_oe property

public byte TReloadRegL
return byte

TestADCReg public_oe property

public byte TestADCReg
return byte

TestBusReg public_oe property

public byte TestBusReg
return byte

TestDAC1Reg public_oe property

public byte TestDAC1Reg
return byte

TestDAC2Reg public_oe property

public byte TestDAC2Reg
return byte

TestPinEnReg public_oe property

public byte TestPinEnReg
return byte

TestPinValueReg public_oe property

public byte TestPinValueReg
return byte

TestSel1Reg public_oe property

public byte TestSel1Reg
return byte

TestSel2Reg public_oe property

public byte TestSel2Reg
return byte

TxAutoReg public_oe property

public byte TxAutoReg
return byte

TxControlReg public_oe property

public byte TxControlReg
return byte

TxModeReg public_oe property

public byte TxModeReg
return byte

TxSelReg public_oe property

public byte TxSelReg
return byte

VersionReg public_oe property

public byte VersionReg
return byte

WaterLevelReg public_oe property

public byte WaterLevelReg
return byte