Martin Kojtal
406f9508d3
hal: add spdx license
2018-11-28 10:39:51 +00:00
Maciej Bocianski
883ea2f1d1
astyle fixes on QSPI API/driver/tests
2018-08-22 15:02:15 +02:00
Martin Kojtal
d444abcc96
QSPI: fix doxy hal documentation
2018-08-22 15:02:02 +02:00
Martin Kojtal
99f2107881
QSPI: hal doxygen fixes
...
Small corrections, fixing typos in the documentation
2018-08-22 15:00:15 +02:00
Martin Kojtal
784c473f63
QSPI HAL: add disabled flag to format phase
...
If phase is being skipped, set disabled to true, otherwise false.
2018-08-22 15:00:08 +02:00
Martin Kojtal
1d234aade4
QSPI HAL: fix alternative comment
2018-08-22 15:00:06 +02:00
Senthil Ramakrishnan
2df58e2d25
Modify QSPI HAL API to include an API for command-transfer operations
2018-08-22 14:59:59 +02:00
Martin Kojtal
a3c8117b0e
QSPI: fix command declaration names
2018-08-22 14:59:58 +02:00
Martin Kojtal
10e7b5f6d0
QSPI: improve mode documentation
...
SPI mode means Clock polarity and phase mode (0 - 3)
2018-08-22 14:59:57 +02:00
Martin Kojtal
4564383ba8
QSPI: change length to be in/out parameter
...
This provides a way to return how many bytes have been written/read (as status codes
are returned via func ret value)
2018-08-22 14:59:57 +02:00
Martin Kojtal
510d743051
QSPI: fix address/alt variable sizes (can be skipped)
...
Fixing by adding NONE values for both
2018-08-22 14:59:56 +02:00
Martin Kojtal
b3037afae4
QSPI HAL addition
...
Adding new QSPI HAL header file. This should help to use memory-maped devices
as memories, graphical displays.
The API consist of few functions, most important are read/write/write_command functions.
The command format is:
```
----------------------------------------------
| Instruction | Address | Alt | Dummy | Data |
----------------------------------------------
```
We define only synch API at the moment.
2018-08-22 14:59:56 +02:00