Macros
Collaboration diagram for NAND Private Macros:

Macros

#define ADDR_1ST_CYCLE(__ADDRESS__)   (uint8_t)(__ADDRESS__) /* 1st addressing cycle */
 NAND memory address cycling. More...
 
#define ADDR_2ND_CYCLE(__ADDRESS__)   (uint8_t)((__ADDRESS__) >> 8) /* 2nd addressing cycle */
 
#define ADDR_3RD_CYCLE(__ADDRESS__)   (uint8_t)((__ADDRESS__) >> 16) /* 3rd addressing cycle */
 
#define ADDR_4TH_CYCLE(__ADDRESS__)   (uint8_t)((__ADDRESS__) >> 24) /* 4th addressing cycle */
 
#define ARRAY_ADDRESS(__ADDRESS__, __HANDLE__)
 NAND memory address computation. More...
 
#define COLUMN_1ST_CYCLE(__ADDRESS__)   (uint8_t)(__ADDRESS__) /* 1st Column addressing cycle */
 NAND memory Columns cycling. More...
 
#define COLUMN_2ND_CYCLE(__ADDRESS__)   (uint8_t)((__ADDRESS__) >> 8) /* 2nd Column addressing cycle */
 
#define COLUMN_ADDRESS(__HANDLE__)   ((__HANDLE__)->Config.PageSize)
 

Detailed Description

Macro Definition Documentation

◆ ADDR_1ST_CYCLE

#define ADDR_1ST_CYCLE (   __ADDRESS__)    (uint8_t)(__ADDRESS__) /* 1st addressing cycle */

NAND memory address cycling.

Parameters
<strong>ADDRESS</strong>NAND memory address.
Return values
NANDaddress cycling value.

Definition at line 325 of file stm32f7xx_hal_nand.h.

◆ ADDR_2ND_CYCLE

#define ADDR_2ND_CYCLE (   __ADDRESS__)    (uint8_t)((__ADDRESS__) >> 8) /* 2nd addressing cycle */

Definition at line 326 of file stm32f7xx_hal_nand.h.

◆ ADDR_3RD_CYCLE

#define ADDR_3RD_CYCLE (   __ADDRESS__)    (uint8_t)((__ADDRESS__) >> 16) /* 3rd addressing cycle */

Definition at line 327 of file stm32f7xx_hal_nand.h.

◆ ADDR_4TH_CYCLE

#define ADDR_4TH_CYCLE (   __ADDRESS__)    (uint8_t)((__ADDRESS__) >> 24) /* 4th addressing cycle */

Definition at line 328 of file stm32f7xx_hal_nand.h.

◆ ARRAY_ADDRESS

#define ARRAY_ADDRESS (   __ADDRESS__,
  __HANDLE__ 
)
Value:
((__ADDRESS__)->Page + \
(((__ADDRESS__)->Block + (((__ADDRESS__)->Plane) * ((__HANDLE__)->Config.PlaneSize)))* ((__HANDLE__)->Config.BlockSize)))

NAND memory address computation.

Parameters
<strong>ADDRESS</strong>NAND memory address.
<strong>HANDLE</strong>NAND handle.
Return values
NANDRaw address value

Definition at line 315 of file stm32f7xx_hal_nand.h.

◆ COLUMN_1ST_CYCLE

#define COLUMN_1ST_CYCLE (   __ADDRESS__)    (uint8_t)(__ADDRESS__) /* 1st Column addressing cycle */

NAND memory Columns cycling.

Parameters
<strong>ADDRESS</strong>NAND memory address.
Return values
NANDColumn address cycling value.

Definition at line 335 of file stm32f7xx_hal_nand.h.

◆ COLUMN_2ND_CYCLE

#define COLUMN_2ND_CYCLE (   __ADDRESS__)    (uint8_t)((__ADDRESS__) >> 8) /* 2nd Column addressing cycle */

Definition at line 336 of file stm32f7xx_hal_nand.h.

◆ COLUMN_ADDRESS

#define COLUMN_ADDRESS (   __HANDLE__)    ((__HANDLE__)->Config.PageSize)

Definition at line 318 of file stm32f7xx_hal_nand.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08