| LibDriver W25QXX 1.0.0 W25QXX full function driver

driver_w25qxx_interface.h
Go to the documentation of this file.
1
37 #ifndef DRIVER_W25QXX_INTERFACE_H
38 #define DRIVER_W25QXX_INTERFACE_H
39
40 #include "driver_w25qxx.h"
41
42 #ifdef __cplusplus
43 extern "C"{
44 #endif
45
60 uint8_t w25qxx_interface_spi_qspi_init(void);
61
69 uint8_t w25qxx_interface_spi_qspi_deinit(void);
70
92 uint8_t w25qxx_interface_spi_qspi_write_read(uint8_t instruction, uint8_t instruction_line,
93 uint32_t address, uint8_t address_line, uint8_t address_len,
94 uint32_t alternate, uint8_t alternate_line, uint8_t alternate_len,
95 uint8_t dummy, uint8_t *in_buf, uint32_t in_len,
96 uint8_t *out_buf, uint32_t out_len, uint8_t data_line);
97
103 void w25qxx_interface_delay_ms(uint32_t ms);
104
110 void w25qxx_interface_delay_us(uint32_t us);
111
117 void w25qxx_interface_debug_print(const char *const fmt, ...);
122 #ifdef __cplusplus
123 }
124 #endif
125
126 #endif
driver_w25qxx.h
driver w25qxx header file
w25qxx_interface_spi_qspi_deinit
uint8_t w25qxx_interface_spi_qspi_deinit(void)
interface spi qspi bus deinit
Definition: driver_w25qxx_interface_template.c:58
w25qxx_interface_spi_qspi_init
uint8_t w25qxx_interface_spi_qspi_init(void)
interface spi qspi bus init
Definition: driver_w25qxx_interface_template.c:46
w25qxx_interface_delay_us
void w25qxx_interface_delay_us(uint32_t us)
interface delay us
Definition: driver_w25qxx_interface_template.c:108
w25qxx_interface_spi_qspi_write_read
uint8_t w25qxx_interface_spi_qspi_write_read(uint8_t instruction, uint8_t instruction_line, uint32_t address, uint8_t address_line, uint8_t address_len, uint32_t alternate, uint8_t alternate_line, uint8_t alternate_len, uint8_t dummy, uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len, uint8_t data_line)
interface spi qspi bus write read
Definition: driver_w25qxx_interface_template.c:84
w25qxx_interface_debug_print
void w25qxx_interface_debug_print(const char *const fmt,...)
interface print format data
Definition: driver_w25qxx_interface_template.c:118
w25qxx_interface_delay_ms
void w25qxx_interface_delay_ms(uint32_t ms)
interface delay ms
Definition: driver_w25qxx_interface_template.c:98