Chapter 4 – SD Card Protocol Description
Revision 2.2
SanDisk SD Card Product Manual
© 2004 SanDisk Corporation
4-23
12/08/04
Switch Function Status
The switch function status is the returned data block that contains function and current
consumption information. The block length is predefined to 512 bits and the use of
SET_BLK_LEN command is not necessary. Table 4-10 describes the status data structure.
The status bits of the response contain the information of the function group. Maximum
current consumption will be used only for the new function added through this command.
In this case VDD_R_CURR_MIN, VDD_W_CURR_MIN, VDD_R_CURR_MAX and
VDD_W_CURR_MAX values in the CSD register provides the current consumption when
all card functions are set to the default state and can be used by spec 1.01 compatible hosts.
Table 4-10
Status Data Structure
Bits Description Width
511:496
Maximum current consumption (0:Error, 1:1 mA, 2:2mA…,
65,535:65,535mA) under the function shown with [399:376] bits. The
voltage to calculate current consumption is defined by ACMD41 (SD Card)
or CMD5 (SD I/O card). Maximum current consumption indicates the total
card current (memory portion) if the functions are switched. The host
should check the maximum current consumption and verify that it can
supply the necessary current before mode 1 operation. Maximum current
consumption is average over 1second.
16
495:480
Function group 6, information. If a bit is set, function is supported.
16
479:464
Function group 5, information. If a bit is set, function is supported.
16
463:448
Function group 4, information. If a bit is set, function is supported.
16
447:432
Function group 3, information. If a bit is set, function is supported.
16
431:416
Function group 2, information. If a bit is set, function is supported.
16
415:400
Function group 1, information. If a bit is set, function is supported.
16
399:396
Mode 0 – the function to be switched in function group 6.
Mode 1 – The function as a result of the switch command in function
group 6. 0xF shows function set error with the argument.
4
395:392
Mode 0 – the function to be switched in function group 5.
Mode 1 – The function as a result of the switch command in function
group 5. 0xF shows function set error with the argument.
4
391:388
Mode 0 – the function to be switched in function group 4.
Mode 1 – The function as a result of the switch command in function
group 4. 0xF shows function set error with the argument.
4
387:384
Mode 0 – the function to be switched in function group 3.
Mode 1 – The function as a result of the switch command in function
group 3. 0xF shows function set error with the argument.
4
383:380
Mode 0 – the function to be switched in function group 2.
Mode 1 – The function as a result of the switch command in function
group 2. 0xF shows function set error with the argument.
4
379:376
Mode 0 – the function to be switched in function group 1.
Mode 1 – The function as a result of the switch command in function
group 1. 0xF shows function set error with the argument.
4
375:0
Reserved (all 0s)
376