SDI Technologies SDIO Card manual Common I/O Area CIA, Card Common Control Registers Cccr

Models: SDIO Card

1 73
Download 73 pages 42 Kb
Page 37
Image 37

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

CIA (Function 0)

0x000000-0x0000FF

CCCR

 

0x000100-0x0001FF

FBR (Function 1)

Window

0x000200-0x0002FF

FBR (Function 2)

Window

0x000300-0x0003FF

FBR (Function 3)

Window

0x000700-0x0007FF

FBR (Function 7)

Window

0x000800-0x000FFF

RFU

 

0x001000-0x017FFF

CIS Area

 

(common and per-function)

0x018000-0x01FFFF

RFU

CIS Pointers

 

 

128K Register Space

 

(function 1-7)

16 MB optional Code Storage Area

(CSA)

0x000000-0x01FFFF

Function Unique

Figure 6-1 SDIO Internal Map

6.8Common I/O Area (CIA)

The Common I/O Area (CIA) shall be implemented on all SDIO cards. The CIA is accessed by the host via I/O reads and writes to function 0. The registers within the CIA are provided to enable/disable the operation of the I/O function(s), control the generation of interrupts and optionally load software to support the I/O functions. The registers in the CIA also provide information about the function(s) abilities and requirements. There are three distinct register structures supported within the CIA. They are:

1.Card Common Control Registers (CCCR)

2.Function Basic Registers (FBR)

3.Card Information Structure (CIS)

6.9Card Common Control Registers (CCCR)

The Card Common Control Registers allow for quick host checking and control of an I/O card’s enable and interrupts on a per card (master) and per function basis. The bits in the CCCR are mixed Read/Write and read only. If any of the possible 7 functions are not provided on an SDIO card, the bits corresponding to unused functions shall all be read-only and read as 0. All reserved for future use bits (RFU) shall be read-only and return a value of 0. All writeable bits are set to 0 after power-up or reset. Access to the CCCR is possible even after initialization when the I/O functions are disabled. Access is performed using the I/O read and write commands defined in section 5. This allows the host to enable functions after initialization. The CCCR is organized as follows:

28

Page 37
Image 37
SDI Technologies SDIO Card manual Common I/O Area CIA, Card Common Control Registers Cccr