You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QSPI HAL defines API for targets that contain QSPI capable peripheral. The QSPI interface is often used for data storage.
4
4
5
5
#### Assumptions
6
6
7
7
##### Defined behavior
8
8
9
-
[Include any defined behavior in bullet format here.]
9
+
- a target implementaion should cover the most of QSPI frame format (some targets might not provide the flexibility for setting all frame parameters)
10
+
- command transfer - a target might provide additional API for sending device specific commands. In case it does not, it can be implemented via read/write functions
10
11
11
12
##### Undefined behavior
12
13
13
-
[Include any undefined behavior in bullet format here.]
14
+
- Calling any function other than `qspi_init` before the initialization of the QSPI
14
15
15
-
##### Potential bugs
16
+
####Dependency
16
17
17
-
[Include any potential bugs in bullet format here.]
18
+
QSPI peripheral
18
19
19
20
#### Implementing QuadSPI
20
21
21
-
[Include implementation information here.]
22
+
The target needs to define `qspi_s` structure - target specific QSPI object, enable QSPI in targets.json file `device_has` and implement QSPI HAL functions defined in `hal/qspi_api.h` header file.
23
+
24
+
`qspi_write` and `qspi_read` are used for data transfers. For communicating with device, `qspi_command_transfer` should be used.
0 commit comments