Changeset 559 for trunk/modules/vci_spi/caba/source/src
- Timestamp:
- Oct 25, 2013, 5:44:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_spi/caba/source/src/vci_spi.cpp
r558 r559 51 51 r_divider = 0xffff; 52 52 r_ctrl_char_len = 0; 53 r_ctrl_ass = false;54 53 r_ctrl_ie = false; 55 54 r_ctrl_cpol = false; … … 145 144 if (r_ctrl_cpha.read()) 146 145 data |= SPI_CTRL_CPHA; 147 if (r_ctrl_ass.read())148 data |= SPI_CTRL_ASS_EN;149 146 if (r_ctrl_ie.read()) 150 147 data |= SPI_CTRL_IE_EN; … … 156 153 r_ctrl_cpol = ((wdata & SPI_CTRL_CPOL) != 0); 157 154 r_ctrl_cpha = ((wdata & SPI_CTRL_CPHA) != 0); 158 r_ctrl_ass = ((wdata & SPI_CTRL_ASS_EN) != 0);159 155 r_ctrl_ie = ((wdata & SPI_CTRL_IE_EN) != 0); 160 156 r_ctrl_go_bsy = ((wdata & SPI_CTRL_GO_BSY) != 0);
Note: See TracChangeset
for help on using the changeset viewer.