Changeset 564 for trunk/modules/vci_spi/caba/source/src
- Timestamp:
- Oct 26, 2013, 12:53:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_spi/caba/source/src/vci_spi.cpp
r559 r564 154 154 r_ctrl_cpha = ((wdata & SPI_CTRL_CPHA) != 0); 155 155 r_ctrl_ie = ((wdata & SPI_CTRL_IE_EN) != 0); 156 r_ctrl_go_bsy = ((wdata & SPI_CTRL_GO_BSY) != 0); 156 if (wdata & SPI_CTRL_GO_BSY) 157 r_ctrl_go_bsy = true; 157 158 r_ctrl_char_len = (wdata & SPI_CTRL_CHAR_LEN_MASK); 158 159 #ifdef SOCLIB_MODULE_DEBUG … … 766 767 std::cout << name() << " _SPI : " << spi_str[r_spi_fsm.read()] 767 768 << " clk_counter " << r_clk_counter.read() 768 << " r_bit_count " << r_bit_count.read() << std::endl; 769 << " r_bit_count " << r_bit_count.read() 770 << " r_ctrl_go_bsy " << (int)r_ctrl_go_bsy.read() << std::endl; 769 771 std::cout << name() << " _SPI : " 770 772 << " r_spi_clk " << r_spi_clk.read()
Note: See TracChangeset
for help on using the changeset viewer.