Ignore:
Timestamp:
Oct 25, 2013, 5:44:46 PM (11 years ago)
Author:
bouyer
Message:

Remove Auto Slave Select feature

Location:
trunk/modules/vci_spi/caba/source
Files:
2 edited

Legend:

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

    r558 r559  
    7575    sc_signal<bool>                    r_ctrl_cpol;     // clock polarity
    7676    sc_signal<bool>                    r_ctrl_cpha;     // clock phase
    77     sc_signal<bool>                    r_ctrl_ass;      // auto slave select
    7877    sc_signal<bool>                    r_ctrl_ie;       // interrupt enable
    7978    sc_signal<bool>                    r_ctrl_go_bsy;
  • trunk/modules/vci_spi/caba/source/src/vci_spi.cpp

    r558 r559  
    5151        r_divider        = 0xffff;
    5252        r_ctrl_char_len   = 0;
    53         r_ctrl_ass      = false;
    5453        r_ctrl_ie        = false;
    5554        r_ctrl_cpol       = false;
     
    145144                    if (r_ctrl_cpha.read())
    146145                        data |= SPI_CTRL_CPHA;
    147                     if (r_ctrl_ass.read())
    148                         data |= SPI_CTRL_ASS_EN;
    149146                    if (r_ctrl_ie.read())
    150147                        data |= SPI_CTRL_IE_EN;
     
    156153                        r_ctrl_cpol = ((wdata & SPI_CTRL_CPOL) != 0);
    157154                        r_ctrl_cpha = ((wdata & SPI_CTRL_CPHA) != 0);
    158                         r_ctrl_ass = ((wdata & SPI_CTRL_ASS_EN) != 0);
    159155                        r_ctrl_ie  = ((wdata & SPI_CTRL_IE_EN) != 0);
    160156                        r_ctrl_go_bsy = ((wdata & SPI_CTRL_GO_BSY) != 0);
Note: See TracChangeset for help on using the changeset viewer.