omap3530/omap3530_drivers/spi/omap3530_spi.h
branchBeagle_BSP_dev
changeset 85 d93b485c1325
parent 84 09e266454dcf
equal deleted inserted replaced
84:09e266454dcf 85:d93b485c1325
   207 // Defines the number of interface clock cycles between CS toggling and first (or last) edge of SPI clock.
   207 // Defines the number of interface clock cycles between CS toggling and first (or last) edge of SPI clock.
   208 const TUint MCSPI_CHxCONF_TCS_0_5 = 0 << 25; // 0x0: 0.5 clock cycle
   208 const TUint MCSPI_CHxCONF_TCS_0_5 = 0 << 25; // 0x0: 0.5 clock cycle
   209 const TUint MCSPI_CHxCONF_TCS_1_5 = 1 << 25; // 0x1: 1.5 clock cycles
   209 const TUint MCSPI_CHxCONF_TCS_1_5 = 1 << 25; // 0x1: 1.5 clock cycles
   210 const TUint MCSPI_CHxCONF_TCS_2_5 = 2 << 25; // 0x2: 2.5 clock cycles
   210 const TUint MCSPI_CHxCONF_TCS_2_5 = 2 << 25; // 0x2: 2.5 clock cycles
   211 const TUint MCSPI_CHxCONF_TCS_3_5 = 3 << 25; // 0x3: 3.5 clock cycles
   211 const TUint MCSPI_CHxCONF_TCS_3_5 = 3 << 25; // 0x3: 3.5 clock cycles
       
   212 const TUint MCSPI_CHxCONF_TCS_SHIFT = 25;
       
   213 const TUint KMaxTransactionWaitTime = 3;
   212 
   214 
   213 const TUint MCSPI_CHxCONF_SBPOL = 1 << 24; // Start bit polarity (0: spi word is command, 1: spi word is data)
   215 const TUint MCSPI_CHxCONF_SBPOL = 1 << 24; // Start bit polarity (0: spi word is command, 1: spi word is data)
   214 const TUint MCSPI_CHxCONF_SBE   = 1 << 23; // Start bit enable - 0x1: Start bit D/CX added before transfer.
   216 const TUint MCSPI_CHxCONF_SBE   = 1 << 23; // Start bit enable - 0x1: Start bit D/CX added before transfer.
   215 const TUint MCSPI_CHxCONF_FORCE = 1 << 20; // Manual spim_csx assertion to keep spim_csx active between SPI words.
   217 const TUint MCSPI_CHxCONF_FORCE = 1 << 20; // Manual spim_csx assertion to keep spim_csx active between SPI words.
   216                                            // (single channel master mode only)- MCSPI_MODULCTRL_SINGLE has to be set
   218                                            // (single channel master mode only)- MCSPI_MODULCTRL_SINGLE has to be set