git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15563 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
5641232c9e
commit
4adf9f490c
|
@ -288,9 +288,9 @@
|
|||
|
||||
/**
|
||||
* @brief Device bus mode to be used.
|
||||
* #note if @p MX25_SWITCH_WIDTH is @p FALSE then this is the bus mode
|
||||
* @note if @p MX25_SWITCH_WIDTH is @p FALSE then this is the bus mode
|
||||
* that the device is expected to be using.
|
||||
* #note if @p MX25_SWITCH_WIDTH is @p TRUE then this is the bus mode
|
||||
* @note if @p MX25_SWITCH_WIDTH is @p TRUE then this is the bus mode
|
||||
* that the device will be switched in.
|
||||
* @note This option is only valid in WSPI bus mode.
|
||||
*/
|
||||
|
|
|
@ -124,9 +124,9 @@
|
|||
|
||||
/**
|
||||
* @brief Device bus mode to be used.
|
||||
* #note if @p N25Q_SWITCH_WIDTH is @p FALSE then this is the bus mode
|
||||
* @note if @p N25Q_SWITCH_WIDTH is @p FALSE then this is the bus mode
|
||||
* that the device is expected to be using.
|
||||
* #note if @p N25Q_SWITCH_WIDTH is @p TRUE then this is the bus mode
|
||||
* @note if @p N25Q_SWITCH_WIDTH is @p TRUE then this is the bus mode
|
||||
* that the device will be switched in.
|
||||
* @note This option is only valid in WSPI bus mode.
|
||||
*/
|
||||
|
|
|
@ -39,7 +39,7 @@ const WSPIConfig WSPIcfg1 = {
|
|||
.error_cb = NULL,
|
||||
.dcr1 = STM32_DCR1_DLYBYP_MODE |
|
||||
STM32_DCR1_MTYP(1U) | /* Macronix mode. */
|
||||
STM32_DCR1_DEVSIZE(26U) | /* 64MB device. */
|
||||
STM32_DCR1_DEVSIZE(25U) | /* 64MB device. */
|
||||
STM32_DCR1_CSHT(1U), /* NCS 2 cycles delay. */
|
||||
.dcr2 = 0U,
|
||||
.dcr3 = 0U,
|
||||
|
|
|
@ -38,7 +38,7 @@ const WSPIConfig WSPIcfg1 = {
|
|||
.end_cb = NULL,
|
||||
.error_cb = NULL,
|
||||
.dcr1 = STM32_DCR1_MTYP(1U) | /* Macronix mode. */
|
||||
STM32_DCR1_DEVSIZE(26U) | /* 64MB device. */
|
||||
STM32_DCR1_DEVSIZE(25U) | /* 64MB device. */
|
||||
STM32_DCR1_CSHT(1U), /* NCS 2 cycles delay. */
|
||||
.dcr2 = 0U,
|
||||
.dcr3 = 0U,
|
||||
|
|
Loading…
Reference in New Issue