
NDFC_USER_DATA_LEN_N Контроллер Nand Flash (NDFC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 ECC_DATA_LEN7 Bits 31 : 28R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+7]. ECC_DATA_LEN6 Bits 27 : 24R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+6]. ECC_DATA_LEN5 Bits 23 : 20R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+5]. ECC_DATA_LEN4 Bits 19 : 16R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+4]. ECC_DATA_LEN3 Bits 15 : 12R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+3]. ECC_DATA_LEN2 Bits 11 : 8R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+2]. ECC_DATA_LEN1 Bits 7 : 4R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N+1]. ECC_DATA_LEN0 Bits 3 : 0R/W 0x0 It's used to indicate user data's length of ECC DATA BLOCK [0x08*N]. Команда U-Boot для чтения регистра md 4081004 1Bit fields structure
typedef union ndfc_user_data_len_n
{
struct
{
unsigned ecc_data_len0 : 4;
unsigned ecc_data_len1 : 4;
unsigned ecc_data_len2 : 4;
unsigned ecc_data_len3 : 4;
unsigned ecc_data_len4 : 4;
unsigned ecc_data_len5 : 4;
unsigned ecc_data_len6 : 4;
unsigned ecc_data_len7 : 4;
} b;
unsigned long w;
} NDFC_USER_DATA_LEN_N
|
![]() |