Changeset 556 for trunk/modules/sdmmc/caba/source/include
- Timestamp:
- Oct 22, 2013, 11:22:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/sdmmc/caba/source/include/sdmmc.h
r555 r556 55 55 56 56 // Registers 57 sc_signal<int> r_spi_fsm; // SPI state register58 sc_signal<uint8_t> r_spi_shiftreg; // data shift in/out59 sc_signal<uint8_t> r_spi_bitcount;60 sc_signal<bool> r_spi_clk;57 int spi_fsm; // SPI state register 58 int spi_shiftreg; // data shift in/out 59 int spi_bitcount; 60 int spi_clk; 61 61 62 sc_signal<uint8_t> r_command;63 sc_signal<uint32_t> r_args;64 sc_signal<uint8_t> r_cmdcrc;65 int 66 uint64_t 67 const uint32_t 62 uint8_t command; 63 uint32_t args; 64 uint8_t cmdcrc; 65 int m_fd; // File descriptor 66 uint64_t m_device_size; // Total number of blocks 67 const uint32_t m_latency; // device latency 68 68 69 uint8_t 70 uint32_t 71 uint32_t 72 uint32_t 73 bool 74 int 69 uint8_t m_databuf[1 /* reponse */ + 1 /* data tocken */ + 512 /* data block */ + 2 /* CRC */ ]; 70 uint32_t m_datalen_snd; // data size to be sent to host 71 uint32_t m_datalen_rcv; // data size expected from host 72 uint32_t m_data_idx; 73 bool m_acmd; // next command will be acmd 74 int m_sdstate; // sdcard internal state 75 75 76 76 // sd states
Note: See TracChangeset
for help on using the changeset viewer.