W25Q16JVSSIQ flash power down

Good day

I am trying to send the flash to power down mode by shifting an instruction code.  The flash is located on spi.  I have found a method to send instruction code in spi_nor.c located in the zephyr drivers.  However, I am struggling to reference this in my project.  I have added 

CONFIG_SPI_NOR=y to my config file and added   "zephyr\drivers\flash\spi_nor.h" to my main.c file but the project doesn't include the functions used in spi_nor.c.  Is there something I need to do to include these functions.
Thank you in advance.
Kind regards,
Hassan
Parents Reply Children
No Data
Related