URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [lib/] [source/] [neorv32_spi.c] - Diff between revs 48 and 52
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 48 |
Rev 52 |
Line 87... |
Line 87... |
SPI_CT = ct_enable | ct_prsc | ct_polarity | ct_size;
|
SPI_CT = ct_enable | ct_prsc | ct_polarity | ct_size;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Disable and SPI controller.
|
* Disable SPI controller.
|
**************************************************************************/
|
**************************************************************************/
|
void neorv32_spi_disable(void) {
|
void neorv32_spi_disable(void) {
|
|
|
SPI_CT &= ~((uint32_t)(1 << SPI_CT_EN));
|
SPI_CT &= ~((uint32_t)(1 << SPI_CT_EN));
|
}
|
}
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.