Home
last modified time | relevance | path

Searched refs:deviceaddress (Results 1 – 25 of 27) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_nand.c404 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
423 deviceaddress = NAND_DEVICE1; in HAL_NAND_Read_ID()
427 deviceaddress = NAND_DEVICE2; in HAL_NAND_Read_ID()
430 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
434 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
436 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
446 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
456 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
457 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
488 uint32_t deviceaddress; in HAL_NAND_Reset() local
[all …]
Dstm32f4xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
294 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
298 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
302 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
306 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
321 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
326 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
329 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
447 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
472 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_nand.c386 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
402 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
405 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
407 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
413 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
423 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
424 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
455 uint32_t deviceaddress; in HAL_NAND_Reset() local
471 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
474 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32u5xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
297 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
301 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
305 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
309 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
324 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
329 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
332 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
450 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
475 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_nand.c383 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
399 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
402 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
404 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
410 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
420 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
421 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
452 uint32_t deviceaddress; in HAL_NAND_Reset() local
468 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
471 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32f7xx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
293 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
297 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
301 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
305 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
320 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
325 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
328 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
446 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
471 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_nand.c385 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
401 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
404 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
406 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
412 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
422 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
423 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
454 uint32_t deviceaddress; in HAL_NAND_Reset() local
470 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
473 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32n6xx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
296 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
300 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
304 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
308 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
323 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
328 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
331 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
449 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
474 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_nand.c386 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
402 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
405 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
407 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
413 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
423 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
424 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
455 uint32_t deviceaddress; in HAL_NAND_Reset() local
471 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
474 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32h5xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
297 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
301 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
305 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
309 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
324 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
329 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
332 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
450 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
475 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_nand.c385 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
401 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
404 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
406 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
412 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
422 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
423 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
454 uint32_t deviceaddress; in HAL_NAND_Reset() local
470 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
473 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32h7xx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
296 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
300 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
304 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
308 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
323 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
328 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
331 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
449 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
474 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_nand.c384 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
400 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
403 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
405 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
411 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
421 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
422 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
453 uint32_t deviceaddress; in HAL_NAND_Reset() local
469 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
472 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32l4xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
294 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
298 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
302 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
306 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
321 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
326 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
329 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
447 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
472 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_nand.c383 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
399 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
402 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
404 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
410 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
420 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
421 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
452 uint32_t deviceaddress; in HAL_NAND_Reset() local
468 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
471 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32l5xx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
293 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
297 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
301 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
305 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
320 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
325 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
328 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
446 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
471 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_nand.c385 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
401 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
404 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
406 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
412 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
422 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
423 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
454 uint32_t deviceaddress; in HAL_NAND_Reset() local
470 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
473 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
Dstm32h7rsxx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
296 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
300 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
304 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
308 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
323 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
328 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
331 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
449 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
474 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_nand.c384 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
400 deviceaddress = NAND_DEVICE; in HAL_NAND_Read_ID()
403 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
405 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
411 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
421 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
422 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
453 uint32_t deviceaddress; in HAL_NAND_Reset() local
469 deviceaddress = NAND_DEVICE; in HAL_NAND_Reset()
472 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = 0xFF; in HAL_NAND_Reset()
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_nand.c384 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
402 deviceaddress = NAND_DEVICE1; in HAL_NAND_Read_ID()
406 deviceaddress = NAND_DEVICE2; in HAL_NAND_Read_ID()
410 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
412 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
418 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
428 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
429 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
460 uint32_t deviceaddress; in HAL_NAND_Reset() local
478 deviceaddress = NAND_DEVICE1; in HAL_NAND_Reset()
[all …]
Dstm32f3xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
294 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
298 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
302 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
306 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
321 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
326 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
329 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
447 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
472 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_nand.c384 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
402 deviceaddress = NAND_DEVICE1; in HAL_NAND_Read_ID()
406 deviceaddress = NAND_DEVICE2; in HAL_NAND_Read_ID()
410 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
412 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
418 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
428 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
429 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
460 uint32_t deviceaddress; in HAL_NAND_Reset() local
478 deviceaddress = NAND_DEVICE1; in HAL_NAND_Reset()
[all …]
Dstm32f1xx_hal_nor.c237 uint32_t deviceaddress; in HAL_NOR_Init() local
294 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
298 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
302 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
306 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
321 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
326 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
329 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
447 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
472 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_nand.c383 uint32_t deviceaddress; in HAL_NAND_Read_ID() local
401 deviceaddress = NAND_DEVICE1; in HAL_NAND_Read_ID()
405 deviceaddress = NAND_DEVICE2; in HAL_NAND_Read_ID()
409 *(__IO uint8_t *)((uint32_t)(deviceaddress | CMD_AREA)) = NAND_CMD_READID; in HAL_NAND_Read_ID()
411 *(__IO uint8_t *)((uint32_t)(deviceaddress | ADDR_AREA)) = 0x00; in HAL_NAND_Read_ID()
417 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
427 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
428 data1 = *((__IO uint32_t *)deviceaddress + 4); in HAL_NAND_Read_ID()
459 uint32_t deviceaddress; in HAL_NAND_Reset() local
477 deviceaddress = NAND_DEVICE1; in HAL_NAND_Reset()
[all …]
Dstm32f2xx_hal_nor.c236 uint32_t deviceaddress; in HAL_NOR_Init() local
293 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Init()
297 deviceaddress = NOR_MEMORY_ADRESS2; in HAL_NOR_Init()
301 deviceaddress = NOR_MEMORY_ADRESS3; in HAL_NOR_Init()
305 deviceaddress = NOR_MEMORY_ADRESS4; in HAL_NOR_Init()
320 NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), in HAL_NOR_Init()
325 …NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_… in HAL_NOR_Init()
328 …hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDR… in HAL_NOR_Init()
446 uint32_t deviceaddress; in HAL_NOR_Read_ID() local
471 deviceaddress = NOR_MEMORY_ADRESS1; in HAL_NOR_Read_ID()
[all …]

12