| LibDriver W25QXX 1.0.0 W25QXX full function driver

driver_w25qxx_basic.h
Go to the documentation of this file.
1
37 #ifndef DRIVER_W25QXX_BASIC_H
38 #define DRIVER_W25QXX_BASIC_H
39
40 #include "driver_w25qxx_interface.h"
41
42 #ifdef __cplusplus
43 extern "C"{
44 #endif
45
63 uint8_t w25qxx_basic_init(w25qxx_type_t type, w25qxx_interface_t interface, w25qxx_bool_t dual_quad_spi_enable);
64
72 uint8_t w25qxx_basic_deinit(void);
73
81 uint8_t w25qxx_basic_power_down(void);
82
90 uint8_t w25qxx_basic_wake_up(void);
91
99 uint8_t w25qxx_basic_chip_erase(void);
100
110 uint8_t w25qxx_basic_get_id(uint8_t *manufacturer, uint8_t *device_id);
111
122 uint8_t w25qxx_basic_write(uint32_t addr, uint8_t *data, uint32_t len);
123
134 uint8_t w25qxx_basic_read(uint32_t addr, uint8_t *data, uint32_t len);
135
140 #ifdef __cplusplus
141 }
142 #endif
143
144 #endif
driver_w25qxx_interface.h
driver w25qxx interface header file
w25qxx_type_t
w25qxx_type_t
w25qxx type enumeration definition
Definition: driver_w25qxx.h:63
w25qxx_interface_t
w25qxx_interface_t
w25qxx interface enumeration definition
Definition: driver_w25qxx.h:76
w25qxx_bool_t
w25qxx_bool_t
w25qxx bool enumeration definition
Definition: driver_w25qxx.h:85
w25qxx_basic_wake_up
uint8_t w25qxx_basic_wake_up(void)
basic example wake up
Definition: driver_w25qxx_basic.c:163
w25qxx_basic_read
uint8_t w25qxx_basic_read(uint32_t addr, uint8_t *data, uint32_t len)
basic example read
Definition: driver_w25qxx_basic.c:247
w25qxx_basic_init
uint8_t w25qxx_basic_init(w25qxx_type_t type, w25qxx_interface_t interface, w25qxx_bool_t dual_quad_spi_enable)
basic example init
Definition: driver_w25qxx_basic.c:51
w25qxx_basic_power_down
uint8_t w25qxx_basic_power_down(void)
basic example power down
Definition: driver_w25qxx_basic.c:144
w25qxx_basic_write
uint8_t w25qxx_basic_write(uint32_t addr, uint8_t *data, uint32_t len)
basic example write
Definition: driver_w25qxx_basic.c:225
w25qxx_basic_get_id
uint8_t w25qxx_basic_get_id(uint8_t *manufacturer, uint8_t *device_id)
basic example get the manufacturer && device id information
Definition: driver_w25qxx_basic.c:203
w25qxx_basic_deinit
uint8_t w25qxx_basic_deinit(void)
basic example deinit
Definition: driver_w25qxx_basic.c:125
w25qxx_basic_chip_erase
uint8_t w25qxx_basic_chip_erase(void)
basic example chip erase
Definition: driver_w25qxx_basic.c:182