Datasheet
877
32072H–AVR32–10/2012
AT32UC3A3
32.7.1 Command register
Name :
CMD
Access Type : Read/Write
Offset : 0x00
Reset Value : 0x00000000
•
TPC : Transfer Protocol Code.
TPC[3] indicates the transfer direction of data (1:write packet, 0:read packet)
•
DSL : Data Select.
0 : Data is transmitted to and received from Memory Stick using the internal FIFO.
31 30 29 28 27 26 25 24
--------
23 22 21 20 19 18 17 16
--------
15 14 13 12 11 10 9 8
TPC - DSL DSZ
76543210
DSZ
code (dec) TPC Description
2
READ_LONG_DATA Transfer data from Data Buffer (512 bytes)
3
READ_SHORT_DATA Transfer data from Data Buffer (32~256 bytes)
4 READ_REG
Read from a register
7GET_INT
Read from an INT register
8 SET_R/W_REG_ADRS
Set an address of READ_REG/WRITE_REG
9 EX_SET_CMD
Set command and parameters
11 WRITE_REG
Write to a register
12 WRITE_SHORT_DATA
Transfer data to Data Buffer (32~256 bytes)
13 WRITE_LONG_DATA
Transfer data to Data Buffer (512 bytes)
14 SET_CMD
Set command
other -
Banned for use