GD32F20x User Manual
650
than or equal to the maximum AU size. The card should set smaller AU size as possible.
Table 24-27. Maximum AU size
Card Capacity
up to 64MB
up to 256MB
up to 512MB
up to 32GB
up to 2TB
Maximum AU
Size
512 KB
1 MB
2 MB
4 MB1
64MB
ERASE_SIZE
This 16-bit field indicates N
ERASE
. When N
ERASE
of AUs are erased, the timeout value is
specified by ERASE_TIMEOUT (Refer to ERASE_TIMEOUT). The host should determine
proper number of AUs to be erased in one operation so that the host can indicate progress of
erase operation. If this field is set to 0, the erase timeout calculation is not supported.
Table 24-28. Erase size field
ERASE_SIZE
Value Definition
0000h
Erase Time-out Calculation is not
supported.
0001h
1 AU
0002h
2 AU
0003h
3 AU
.......
.......
FFFFh
65535 AU
ERASE_TIMEOUT
This 6-bit field indicates the T
ERASE
and the value indicates erase timeout from offset when
multiple AUs are erased as specified by ERASE_SIZE. The range of ERASE_TIMEOUT can
be defined as up to 63 seconds and the card manufacturer can choose any combination of
ERASE_SIZE and ERASE_TIMEOUT depending on the implementation. Once
ERASE_TIMEOUT is determined, it determines the ERASE_SIZE. The host can determine
timeout for any number of AU erase by the equation below.
Erase timeout of X AU=
T
ERASE
N
ERASE
*X+T
OFFSET
(24-1)
Table 24-29. Erase timeout field
ERASE_TIMEOUT
Value Definition
00
Erase Time-out Calculation is not supported.
01
1 [sec]
02
2 [sec]
03
3 [sec]
.......
.......
63
63 [sec]
If ERASE_SIZE field is set to 0, this field shall be set to 0.
ERASE_OFFSET
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...