RBR - Receive Buffer Register | |
| #define | USIM_RBR_RB_MASK |
| #define | USIM_RBR_RB_SHIFT |
| #define | USIM_RBR_RB(x) |
| #define | USIM_RBR_PERR_MASK |
| #define | USIM_RBR_PERR_SHIFT |
| #define | USIM_RBR_PERR(x) |
THR - Transmit Holding Register | |
| #define | USIM_THR_TB_MASK |
| #define | USIM_THR_TB_SHIFT |
| #define | USIM_THR_TB(x) |
IER - Interrupt Enable Register | |
| #define | USIM_IER_OVRN_MASK |
| #define | USIM_IER_OVRN_SHIFT |
| #define | USIM_IER_OVRN(x) |
| #define | USIM_IER_PERR_MASK |
| #define | USIM_IER_PERR_SHIFT |
| #define | USIM_IER_PERR(x) |
| #define | USIM_IER_T0ERR_MASK |
| #define | USIM_IER_T0ERR_SHIFT |
| #define | USIM_IER_T0ERR(x) |
| #define | USIM_IER_FRAMERR_MASK |
| #define | USIM_IER_FRAMERR_SHIFT |
| #define | USIM_IER_FRAMERR(x) |
| #define | USIM_IER_TIMEO_MASK |
| #define | USIM_IER_TIMEO_SHIFT |
| #define | USIM_IER_TIMEO(x) |
| #define | USIM_IER_CWT_MASK |
| #define | USIM_IER_CWT_SHIFT |
| #define | USIM_IER_CWT(x) |
| #define | USIM_IER_BWT_MASK |
| #define | USIM_IER_BWT_SHIFT |
| #define | USIM_IER_BWT(x) |
| #define | USIM_IER_RDR_MASK |
| #define | USIM_IER_RDR_SHIFT |
| #define | USIM_IER_RDR(x) |
| #define | USIM_IER_TDR_MASK |
| #define | USIM_IER_TDR_SHIFT |
| #define | USIM_IER_TDR(x) |
| #define | USIM_IER_DMA_TIME_MASK |
| #define | USIM_IER_DMA_TIME_SHIFT |
| #define | USIM_IER_DMA_TIME(x) |
| #define | USIM_IER_DMA_RX_MASK |
| #define | USIM_IER_DMA_RX_SHIFT |
| #define | USIM_IER_DMA_RX(x) |
| #define | USIM_IER_DMA_TX_MASK |
| #define | USIM_IER_DMA_TX_SHIFT |
| #define | USIM_IER_DMA_TX(x) |
IIR - Interrupt Identification Register | |
| #define | USIM_IIR_OVRN_MASK |
| #define | USIM_IIR_OVRN_SHIFT |
| #define | USIM_IIR_OVRN(x) |
| #define | USIM_IIR_PERR_MASK |
| #define | USIM_IIR_PERR_SHIFT |
| #define | USIM_IIR_PERR(x) |
| #define | USIM_IIR_T0ERR_MASK |
| #define | USIM_IIR_T0ERR_SHIFT |
| #define | USIM_IIR_T0ERR(x) |
| #define | USIM_IIR_FRAMERR_MASK |
| #define | USIM_IIR_FRAMERR_SHIFT |
| #define | USIM_IIR_FRAMERR(x) |
| #define | USIM_IIR_TIMEO_MASK |
| #define | USIM_IIR_TIMEO_SHIFT |
| #define | USIM_IIR_TIMEO(x) |
| #define | USIM_IIR_CWT_MASK |
| #define | USIM_IIR_CWT_SHIFT |
| #define | USIM_IIR_CWT(x) |
| #define | USIM_IIR_BWT_MASK |
| #define | USIM_IIR_BWT_SHIFT |
| #define | USIM_IIR_BWT(x) |
| #define | USIM_IIR_RDR_MASK |
| #define | USIM_IIR_RDR_SHIFT |
| #define | USIM_IIR_RDR(x) |
| #define | USIM_IIR_TDR_MASK |
| #define | USIM_IIR_TDR_SHIFT |
| #define | USIM_IIR_TDR(x) |
FCR - FIFO Control Register | |
| #define | USIM_FCR_RESETRF_MASK |
| #define | USIM_FCR_RESETRF_SHIFT |
| #define | USIM_FCR_RESETRF(x) |
| #define | USIM_FCR_RESETTF_MASK |
| #define | USIM_FCR_RESETTF_SHIFT |
| #define | USIM_FCR_RESETTF(x) |
| #define | USIM_FCR_TX_HOLD_MASK |
| #define | USIM_FCR_TX_HOLD_SHIFT |
| #define | USIM_FCR_TX_HOLD(x) |
| #define | USIM_FCR_PEM_MASK |
| #define | USIM_FCR_PEM_SHIFT |
| #define | USIM_FCR_PEM(x) |
| #define | USIM_FCR_RX_TL_MASK |
| #define | USIM_FCR_RX_TL_SHIFT |
| #define | USIM_FCR_RX_TL(x) |
| #define | USIM_FCR_TX_TL_MASK |
| #define | USIM_FCR_TX_TL_SHIFT |
| #define | USIM_FCR_TX_TL(x) |
FSR - FIFO Status Register | |
| #define | USIM_FSR_RX_LENGTH_MASK |
| #define | USIM_FSR_RX_LENGTH_SHIFT |
| #define | USIM_FSR_RX_LENGTH(x) |
| #define | USIM_FSR_TX_LENGTH_MASK |
| #define | USIM_FSR_TX_LENGTH_SHIFT |
| #define | USIM_FSR_TX_LENGTH(x) |
| #define | USIM_FSR_PERR_NUM_MASK |
| #define | USIM_FSR_PERR_NUM_SHIFT |
| #define | USIM_FSR_PERR_NUM(x) |
ECR - Error Control Register | |
| #define | USIM_ECR_T0ERR_TL_MASK |
| #define | USIM_ECR_T0ERR_TL_SHIFT |
| #define | USIM_ECR_T0ERR_TL(x) |
| #define | USIM_ECR_PE_TL_MASK |
| #define | USIM_ECR_PE_TL_SHIFT |
| #define | USIM_ECR_PE_TL(x) |
| #define | USIM_ECR_T0_CLR_MASK |
| #define | USIM_ECR_T0_CLR_SHIFT |
| #define | USIM_ECR_T0_CLR(x) |
| #define | USIM_ECR_T0_REPEAT_MASK |
| #define | USIM_ECR_T0_REPEAT_SHIFT |
| #define | USIM_ECR_T0_REPEAT(x) |
LCR - Line Control Register | |
| #define | USIM_LCR_INVERSE_MASK |
| #define | USIM_LCR_INVERSE_SHIFT |
| #define | USIM_LCR_INVERSE(x) |
| #define | USIM_LCR_ORDER_MASK |
| #define | USIM_LCR_ORDER_SHIFT |
| #define | USIM_LCR_ORDER(x) |
| #define | USIM_LCR_EPS_MASK |
| #define | USIM_LCR_EPS_SHIFT |
| #define | USIM_LCR_EPS(x) |
| #define | USIM_LCR_RX_T1_MASK |
| #define | USIM_LCR_RX_T1_SHIFT |
| #define | USIM_LCR_RX_T1(x) |
| #define | USIM_LCR_TX_T1_MASK |
| #define | USIM_LCR_TX_T1_SHIFT |
| #define | USIM_LCR_TX_T1(x) |
USCCR - Card Control Register | |
| #define | USIM_USCCR_RST_CARD_N_MASK |
| #define | USIM_USCCR_RST_CARD_N_SHIFT |
| #define | USIM_USCCR_RST_CARD_N(x) |
| #define | USIM_USCCR_VCC_MASK |
| #define | USIM_USCCR_VCC_SHIFT |
| #define | USIM_USCCR_VCC(x) |
| #define | USIM_USCCR_TXD_FORCE_MASK |
| #define | USIM_USCCR_TXD_FORCE_SHIFT |
| #define | USIM_USCCR_TXD_FORCE(x) |
LSR - Line Status Register | |
| #define | USIM_LSR_OVRN_MASK |
| #define | USIM_LSR_OVRN_SHIFT |
| #define | USIM_LSR_OVRN(x) |
| #define | USIM_LSR_PERR_MASK |
| #define | USIM_LSR_PERR_SHIFT |
| #define | USIM_LSR_PERR(x) |
| #define | USIM_LSR_T0ERR_MASK |
| #define | USIM_LSR_T0ERR_SHIFT |
| #define | USIM_LSR_T0ERR(x) |
| #define | USIM_LSR_FRAMERR_MASK |
| #define | USIM_LSR_FRAMERR_SHIFT |
| #define | USIM_LSR_FRAMERR(x) |
| #define | USIM_LSR_TIMEO_MASK |
| #define | USIM_LSR_TIMEO_SHIFT |
| #define | USIM_LSR_TIMEO(x) |
| #define | USIM_LSR_CWT_MASK |
| #define | USIM_LSR_CWT_SHIFT |
| #define | USIM_LSR_CWT(x) |
| #define | USIM_LSR_BWT_MASK |
| #define | USIM_LSR_BWT_SHIFT |
| #define | USIM_LSR_BWT(x) |
| #define | USIM_LSR_TDR_MASK |
| #define | USIM_LSR_TDR_SHIFT |
| #define | USIM_LSR_TDR(x) |
| #define | USIM_LSR_RX_EMPTY_N_MASK |
| #define | USIM_LSR_RX_EMPTY_N_SHIFT |
| #define | USIM_LSR_RX_EMPTY_N(x) |
| #define | USIM_LSR_TX_WORKING_MASK |
| #define | USIM_LSR_TX_WORKING_SHIFT |
| #define | USIM_LSR_TX_WORKING(x) |
| #define | USIM_LSR_RX_WORKING_MASK |
| #define | USIM_LSR_RX_WORKING_SHIFT |
| #define | USIM_LSR_RX_WORKING(x) |
| #define | USIM_LSR_RXD_MASK |
| #define | USIM_LSR_RXD_SHIFT |
| #define | USIM_LSR_RXD(x) |
EGTR - Extra Guard Time Register | |
| #define | USIM_EGTR_EGTM_MASK |
| #define | USIM_EGTR_EGTM_SHIFT |
| #define | USIM_EGTR_EGTM(x) |
BGTR - Block Guard Time Register | |
| #define | USIM_BGTR_BGT_MASK |
| #define | USIM_BGTR_BGT_SHIFT |
| #define | USIM_BGTR_BGT(x) |
TOR - Time Out Register | |
| #define | USIM_TOR_TO_MASK |
| #define | USIM_TOR_TO_SHIFT |
| #define | USIM_TOR_TO(x) |
CLKR - Clock Register | |
| #define | USIM_CLKR_DIVISOR_MASK |
| #define | USIM_CLKR_DIVISOR_SHIFT |
| #define | USIM_CLKR_DIVISOR(x) |
| #define | USIM_CLKR_RQST_MASK |
| #define | USIM_CLKR_RQST_SHIFT |
| #define | USIM_CLKR_RQST(x) |
| #define | USIM_CLKR_STOP_UCLK_MASK |
| #define | USIM_CLKR_STOP_UCLK_SHIFT |
| #define | USIM_CLKR_STOP_UCLK(x) |
| #define | USIM_CLKR_STOP_LEVEL_MASK |
| #define | USIM_CLKR_STOP_LEVEL_SHIFT |
| #define | USIM_CLKR_STOP_LEVEL(x) |
| #define | USIM_CLKR_STOP_CLK_USIM_MASK |
| #define | USIM_CLKR_STOP_CLK_USIM_SHIFT |
| #define | USIM_CLKR_STOP_CLK_USIM(x) |
DLR - Divisor Latch Register | |
| #define | USIM_DLR_DIVISOR_MASK |
| #define | USIM_DLR_DIVISOR_SHIFT |
| #define | USIM_DLR_DIVISOR(x) |
FLR - Factor Latch Register | |
| #define | USIM_FLR_FACTOR_MASK |
| #define | USIM_FLR_FACTOR_SHIFT |
| #define | USIM_FLR_FACTOR(x) |
CWTR - Character Waiting Time Register | |
| #define | USIM_CWTR_CWT_MASK |
| #define | USIM_CWTR_CWT_SHIFT |
| #define | USIM_CWTR_CWT(x) |
BWTR - Block Waiting Time Register | |
| #define | USIM_BWTR_BWT_MASK |
| #define | USIM_BWTR_BWT_SHIFT |
| #define | USIM_BWTR_BWT(x) |
| #define USIM_RBR_RB | ( | x | ) |
RB - Data byte received
| #define USIM_RBR_PERR | ( | x | ) |
PERR - parity error bit -When not masked by the PEM bit in the FCR register, the parity error indicator will appear in this bit.
| #define USIM_THR_TB | ( | x | ) |
TB - Data byte transmitted, leaset significant bit first
| #define USIM_IER_OVRN | ( | x | ) |
OVRN - Receiver Dta Overrun Interrupt
| #define USIM_IER_PERR | ( | x | ) |
PERR - Parity Error Interrupt
| #define USIM_IER_T0ERR | ( | x | ) |
T0ERR - T=0 Error Interrupt
| #define USIM_IER_FRAMERR | ( | x | ) |
FRAMERR - Framing Error Interrupt
| #define USIM_IER_TIMEO | ( | x | ) |
TIMEO - Receiver Time Out Interrupt
| #define USIM_IER_CWT | ( | x | ) |
CWT - Character Waiting Time Interrupt
| #define USIM_IER_BWT | ( | x | ) |
BWT - Block Waiting Time Interrupt
| #define USIM_IER_RDR | ( | x | ) |
RDR - Receiver Data Ready Interrupt
| #define USIM_IER_TDR | ( | x | ) |
TDR - Transmitter Data Refill Interrupt
| #define USIM_IER_DMA_TIME | ( | x | ) |
DMA_TIME - DMA Receive Request in event of a Time Out situation
| #define USIM_IER_DMA_RX | ( | x | ) |
DMA_RX - DMA Receive Request
| #define USIM_IER_DMA_TX | ( | x | ) |
DMA_TX - DMA Transmit Request
| #define USIM_IIR_OVRN | ( | x | ) |
OVRN - Receiver Data Overrun Interrupt
| #define USIM_IIR_PERR | ( | x | ) |
PERR - Parity Error Interrupt
| #define USIM_IIR_T0ERR | ( | x | ) |
T0ERR - T=0 Error Interrupt
| #define USIM_IIR_FRAMERR | ( | x | ) |
FRAMERR - Framing Error Interrupt
| #define USIM_IIR_TIMEO | ( | x | ) |
TIMEO - Receiver Time Out Interrupt
| #define USIM_IIR_CWT | ( | x | ) |
CWT - Character Waiting Time Interrupt
| #define USIM_IIR_BWT | ( | x | ) |
BWT - Block Waiting Time Interrupt
| #define USIM_IIR_RDR | ( | x | ) |
RDR - Receive Data Ready Interrupt
| #define USIM_IIR_TDR | ( | x | ) |
TDR - Transmitter Data Refill Interrupt
| #define USIM_FCR_RESETRF | ( | x | ) |
RESETRF - Reset Receive FIFO
| #define USIM_FCR_RESETTF | ( | x | ) |
RESETTF - Reset Transmit FIFO
| #define USIM_FCR_TX_HOLD | ( | x | ) |
TX_HOLD - Transmission Hold
| #define USIM_FCR_PEM | ( | x | ) |
PEM - Parity Error Mask
| #define USIM_FCR_RX_TL | ( | x | ) |
RX_TL - Receiver Trigger Level
| #define USIM_FCR_TX_TL | ( | x | ) |
TX_TL - Transmitter Trigger Level
| #define USIM_FSR_RX_LENGTH | ( | x | ) |
RX_LENGTH - Receive FIFO length
| #define USIM_FSR_TX_LENGTH | ( | x | ) |
TX_LENGTH - Transmit FIFO length
| #define USIM_FSR_PERR_NUM | ( | x | ) |
PERR_NUM - Parity Error Number
| #define USIM_ECR_T0ERR_TL | ( | x | ) |
T0ERR_TL - T=0 Error Trigger Level
| #define USIM_ECR_PE_TL | ( | x | ) |
PE_TL - Parity Error Trigger Level
| #define USIM_ECR_T0_CLR | ( | x | ) |
T0_CLR - Clear T=0 Error
| #define USIM_ECR_T0_REPEAT | ( | x | ) |
T0_REPEAT - Repeat Character Transmission
| #define USIM_LCR_INVERSE | ( | x | ) |
INVERSE - Bit inversion
| #define USIM_LCR_ORDER | ( | x | ) |
ORDER - Transmit/Receive Bit Order
| #define USIM_LCR_EPS | ( | x | ) |
EPS - Even Parity Select(EPS) - This bit is the even parity select bit. When EPS is a logic 0, an odd number of logic ones is transmitted or checked in the data word bits and the parity bit. When EPS is a logic 1, an even number of logic ones is transmitted or checked in the data word bits and parity bit
| #define USIM_LCR_RX_T1 | ( | x | ) |
RX_T1 - Receiver Protocol
| #define USIM_LCR_TX_T1 | ( | x | ) |
TX_T1 - Transmitter Protocol
| #define USIM_USCCR_RST_CARD_N | ( | x | ) |
RST_CARD_N - Card Reset
| #define USIM_USCCR_VCC | ( | x | ) |
VCC - Card Voltage
| #define USIM_USCCR_TXD_FORCE | ( | x | ) |
TXD_FORCE - Force TXD - This bit should always remain non-active unless running a deactivation process. In deactivation the I/O must be turned low before turning down the card's voltage
| #define USIM_LSR_OVRN | ( | x | ) |
OVRN - Receiver Data Overrun Error
| #define USIM_LSR_PERR | ( | x | ) |
PERR - Parity Error
| #define USIM_LSR_T0ERR | ( | x | ) |
T0ERR - T=0 Error
| #define USIM_LSR_FRAMERR | ( | x | ) |
FRAMERR - Framing Error
| #define USIM_LSR_TIMEO | ( | x | ) |
TIMEO - Receiver Time Out
| #define USIM_LSR_CWT | ( | x | ) |
CWT - Character Waiting Time
| #define USIM_LSR_BWT | ( | x | ) |
BWT - Block Waiting Time
| #define USIM_LSR_TDR | ( | x | ) |
TDR - Transmitter Data Refill
| #define USIM_LSR_RX_EMPTY_N | ( | x | ) |
RX_EMPTY_N - Receive FIFO Empty
| #define USIM_LSR_TX_WORKING | ( | x | ) |
TX_WORKING - Transmitter Working
| #define USIM_LSR_RX_WORKING | ( | x | ) |
RX_WORKING - Receiver Working
| #define USIM_LSR_RXD | ( | x | ) |
RXD - Reflects serail data from the I/O pad
| #define USIM_EGTR_EGTM | ( | x | ) |
EGTM - Extra Guard Time Moments: Number of total Guard Time moments
| #define USIM_BGTR_BGT | ( | x | ) |
BGT - Block Guard TIME: Number of total Block Guard Time moments
| #define USIM_TOR_TO | ( | x | ) |
TO - Time Out: Number of total Time Out moments
| #define USIM_CLKR_DIVISOR | ( | x | ) |
DIVISOR - Clock Divisor
| #define USIM_CLKR_RQST | ( | x | ) |
RQST - Clock Change Request
| #define USIM_CLKR_STOP_UCLK | ( | x | ) |
STOP_UCLK - Stop Card Clock
| #define USIM_CLKR_STOP_LEVEL | ( | x | ) |
STOP_LEVEL - Stop Level
| #define USIM_CLKR_STOP_CLK_USIM | ( | x | ) |
STOP_CLK_USIM - Stop USIM_IF Clock
| #define USIM_DLR_DIVISOR | ( | x | ) |
DIVISOR - Baud Divisor - Determines the number of USIM clock in between samples, forcing the total length of a bit to be DIVISOR*(FACTOR+1)*(USIM_CYCLE). The value zero if forbidden for DIVISOR.
| #define USIM_FLR_FACTOR | ( | x | ) |
FACTOR - Baud Factor - Determines the number of samples per bit. Number of samples would be (FACTOR+1). ISO standard demands minimum of 6 samples; therefore 5 is the minimum value of FACTOR bits
| #define USIM_CWTR_CWT | ( | x | ) |
CWT - Character Waiting Time - Number of total Character Waiting Time moments
| #define USIM_BWTR_BWT | ( | x | ) |
BWT - Block Waiting Time - Number of total Block Waiting Time moments