Ignore:
Timestamp:
Nov 17, 2013, 3:47:26 PM (13 years ago)
Author:
bouyer
Message:

Try to be closer to a real sdmmc device: on rising edge really use the value
we had while the clock was low, not the value at the rising edge time.
This is to make the transfer fail if the MOSI line changes at rising clock
instead of falling clock as it should.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/sdmmc/caba/source/include/sdmmc.h

    r557 r574  
    5959    int               spi_bitcount;
    6060    int               spi_clk;
     61    int               spi_mosi_previous; // sampled MOSI value
    6162
    6263    uint8_t           command;
Note: See TracChangeset for help on using the changeset viewer.