The amount of page for RCM6750 serial flash.

Hi guys, from the function user manual I found the sf_getPageCount( const sf_device * dev ) function and the sf_getPageSize( const sf_device * dev ) function can be use to know the page size and page count of the RCM6750 serial flash.
Do you know what should I put for ‘const sf_device*dev’? I just want to know how many page of flash there is for RCM6750…

According to the function description:

PARAMETER1:dev - pointer to sf_device struct for initialized flash device

See serial_flashlog.c where a variable is defined as:

sf_device my_dev;

and in the function sf_initDevice it is used as:

if (err = sf_initDevice(&my_dev,
SF_SPI_CSPORT,
&SF_SPI_CSSHADOW,
SF_SPI_CSPIN))