Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The BSP must declare an instance of the BSP API type (FS_NAND_CTRLR_GEN_BSP_API) as a global variable within the source code. The API structure is an ordered list of function pointers used by the generic controller layer implementation. The BSP API type is shown in Listing 15-8.

An example of a BSP API structure definition is shown in Listing 15-9:Listing 15-9 Example BSP API structure for generic controllerthe listing below:

A proper BSP should implement all of these functions.

...