Commit Graph

6 Commits (9c0634fe433564110b2a31becdb4039f3edc99ce)

Author SHA1 Message Date
Senthil Ramakrishnan 9c0634fe43 Modify QSPI HAL API to include an API for command-transfer operations 2018-02-19 13:43:05 +00:00
Martin Kojtal 4b044c2873 QSPI: fix command declaration names 2018-02-19 13:43:05 +00:00
Martin Kojtal 6b525950d1 QSPI: improve mode documentation
SPI mode means Clock polarity and phase mode (0 - 3)
2018-02-19 13:43:05 +00:00
Martin Kojtal 9087dacd26 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-02-19 13:43:05 +00:00
Martin Kojtal 95bc624bd2 QSPI: fix address/alt variable sizes (can be skipped)
Fixing by adding NONE values for both
2018-02-19 13:43:05 +00:00
Martin Kojtal b89e6a8ed6 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-02-19 13:43:05 +00:00