Commit Graph

8 Commits (7de6aba0ee1758d7cc130fb02d58db8f8362e579)

Author SHA1 Message Date
Martin Kojtal e8169440c0 QSPI HAL: add disabled flag to format phase
If phase is being skipped, set disabled to true, otherwise false.
2018-02-19 13:43:07 +00:00
Martin Kojtal 46c039f5ba QSPI HAL: fix alternative comment 2018-02-19 13:43:06 +00:00
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