int libmem_register_st_m28w320ct_driver libmem_driver_handle_t h,
uint8_t *  start
 

Register an LIBMEM driver for an ST M28W320CT FLASH chip.

Parameters:
h   A pointer to the LIBMEM handle structure to use for this LIBMEM driver.
start   The start address of the FLASH memory.
Returns:
The LIBMEM status result.
Example:
    libmem_driver_handle_t flash1_handle;
    uint8_t *flash1_start = (uint8_t *)0x10000000;
    int res;

    res = libmem_register_st_m28w320ct_driver(&flash1_handle, flash1_start);

    if (res == LIBMEM_STATUS_SUCCESS)
      printf("libmem_register_st_m28w320ct_driver : success\n");
    else
      printf("libmem_register_st_m28w320ct_driver : failed (%d)\n", res);