Changeset 680 for trunk/boot/tsar_mips32/boot_spi_utils.c
- Timestamp:
- Nov 20, 2020, 12:31:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_spi_utils.c
r619 r680 195 195 196 196 /////////////////////////////////////////////////////////////////////////////// 197 // spi_ss_assert( )197 // spi_ss_assert( __FUNCTION__,) 198 198 // This function enables a SPI slave 199 199 // - spi : initialized pointer to the SPI controller 200 200 // - index : slave index 201 201 /////////////////////////////////////////////////////////////////////////////// 202 void spi_ss_assert( struct boot_spi_dev * spi, int index)202 void spi_ss_assert( __FUNCTION__,struct boot_spi_dev * spi, int index) 203 203 { 204 204 unsigned int spi_ss = ioread32(&spi->ss); … … 208 208 209 209 /////////////////////////////////////////////////////////////////////////////// 210 // spi_ss_deassert( )210 // spi_ss_deassert( __FUNCTION__,) 211 211 // This function disables a SPI slave 212 212 // - spi : initialized pointer to the SPI controller 213 213 // - index : slave index 214 214 /////////////////////////////////////////////////////////////////////////////// 215 void spi_ss_deassert( struct boot_spi_dev * spi, int index)215 void spi_ss_deassert( __FUNCTION__,struct boot_spi_dev * spi, int index) 216 216 { 217 217 unsigned int spi_ss = ioread32(&spi->ss);
Note: See TracChangeset
for help on using the changeset viewer.