状态寄存器(Status Register)

最后: 2018/5

FlashAir的iSDIO状态寄存器说明图。

iSDIO状态寄存器

所有的iSDIO器材都可以利用的寄存器。

  • 参考出处: 表2-7 : iSDIO状态寄存器图 - iSDIO 简化1.10版本式样书
Address Size [Bytes] Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Read/Write
00400h
1
Command Write Status - - - - - - CWA CWU *2 Read/Write
00401h
15
Reserved Read Only
00420h
1
iSDIO Status - - - - ASU *2 MCU *2 ESU *2 CRU *2 Read/Write
00421h
1
iSDIO Status (Reserved) - - - - - - - -
00422h
1
iSDIO Int Enable - - - - ASU_ENA MCU_ENA ESU_ENA CRU_ENA Read/Write
00423h
1
iSDIO Int Enable (Reserved) - - - - - - - -
00424h
1
Error Status - - - - APE RPE CWE CRE Read/Write
00425h
1
Error Status (Reserved) - - - - - - - -
00426h
1
Memory Status - - - - - - FAT MEX Read Only
00427h
1
Memory Status (Reserved) - - - - - - - -
00428h
24
Reserved
00440h
160
Command Response Status Queue Read Only
004E0h
32
Reserved
00500h
256

Application Status

(详细内容将稍后提供)

WLAN功能 状态寄存器

具有无线LAN功能的iSDIO器材可以利用的寄存器。 省略了FlashAir不能利用的功能。

  • 参考出处: 表3-2 : 无线LAN的应用状态 - 无线LAN的简易1.10附加书

以下FlashAir原始扩展名可用。

桥接模式下的WLAN状态值*1

地址:00507h、bit0

描述:桥接模式运行时变为1b。

加密模式状态值,包括EAP模式值*2

地址:00528h、bit0~7

描述:添加了以下指示EAP模式的值(WPA / WPA2 Enterprise)。

  • 07h: WPA-EAP认证,TKIP加密
  • 08h: WPA-EAP认证,AES加密
  • 09h: WPA2-EAP认证,TKIP加密
  • 0Ah: WPA2-EAP认证,AES加密
Address Size [Bytes] Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Read/Write
00500h
6
Reserved
00506h
1
WLAN Connected Infra-Direct AP-STA Group WPS Scan Read Only
00507h
1
WLAN (Reserved) *1 Read Only
00508h
32
SSID Read Only
00528h
1
Encryption Mode*2 Read Only
00529h
1
Signal Strength Read Only
0052Ah
1
Channel Read Only
0052Bh
5
Reserved
00530h
6
MAC Address Read Only
00536h
10
Reserved
00540h
16
ID Read Only
00550h
4
IP Address Read Only
00554h
4
Subnet Mask Read Only
00558h
4
Default Gateway Read Only
0055Ch
4
Preferred DNS Server Read Only
00560h
4
Alternate DNS Server Read Only
00564h
1
Proxy Server PSE Read Only
00565h
11
Reserved
00570h
2
Date Read Only
00572h
2
Time Read Only
00574h
1
HTTP Status HPC HTTP Progress Read Only
00575h
1
Power Save Management - - - - - - - PSM Read Only
00576h
1
File System Management - - - - - - - FIM Read Write
00577h
73
Reserved
005C0h
8
Reserved for Vendor
005C8h
4
HTTP transfer status register Read Only
005CCh
4
HTTP transfer size register Read Only
005D0h
6
Reserved for vendor
005D6h
1
File download status register Read Only
005D7h
9
Reserved for vendor
005F0h
16
FW version register Read Only

HTTP transfer status register

获取HTTPClient传输的数据大小。 由于可以获取传输期间的数据大小,因此可以获取数据传输的进度状态。

HTTP transfer size register

获取HTTP响应头中Content-length的值。 如果内容长度未包含在响应中,则不会设置它。

File download status register

判断文件是否正在下载。

FW version register

表示固件版本信息的寄存器(例如:F24A6W3AW1.00.02)