URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Subversion Repositories neorv32
Compare Revisions
- This comparison shows the changes necessary to convert path
/neorv32/trunk/sw/lib
- from Rev 9 to Rev 10
- ↔ Reverse comparison
Rev 9 → Rev 10
/include/neorv32.h
384,7 → 384,7
|
|
/**********************************************************************//** |
* @name IO Device: Serial Peripheral Interface Master (SPI) |
* @name IO Device: Serial Peripheral Interface Controller (SPI) |
**************************************************************************/ |
/**@{*/ |
/** SPI control register (r/w) */ |
420,7 → 420,7
|
|
/**********************************************************************//** |
* @name IO Device: Two-Wire Interface Master (TWI) |
* @name IO Device: Two-Wire Interface Controller (TWI) |
**************************************************************************/ |
/**@{*/ |
/** TWI control register (r/w) */ |
437,7 → 437,7
TWI_CT_PRSC0 = 4, /**< TWI control register(4) (r/w): Clock prescaler select bit 0 */ |
TWI_CT_PRSC1 = 5, /**< TWI control register(5) (r/w): Clock prescaler select bit 1 */ |
TWI_CT_PRSC2 = 6, /**< TWI control register(6) (r/w): Clock prescaler select bit 2 */ |
TWI_CT_MACK = 7, /**< TWI control register(7) (r/w): Generate master ACK for each transmission */ |
TWI_CT_MACK = 7, /**< TWI control register(7) (r/w): Generate controller ACK for each transmission */ |
|
TWI_CT_ACK = 30, /**< TWI control register(30) (r/-): ACK received when set */ |
TWI_CT_BUSY = 31 /**< TWI control register(31) (r/-): Transfer in progress, busy flag */ |
/include/neorv32_spi.h
1,5 → 1,5
// ################################################################################################# |
// # << NEORV32: neorv32_spi.h - Serial Peripheral Interface Master (SPI) HW Driver >> # |
// # << NEORV32: neorv32_spi.h - Serial Peripheral Interface Controller (SPI) HW Driver >> # |
// # ********************************************************************************************* # |
// # BSD 3-Clause License # |
// # # |
36,7 → 36,7
/**********************************************************************//** |
* @file neorv32_spi.h |
* @author Stephan Nolting |
* @brief Serial peripheral interface master (SPI) HW driver header file. |
* @brief Serial peripheral interface controller (SPI) HW driver header file. |
* |
* @note These functions should only be used if the SPI unit was synthesized (IO_SPI_USE = true). |
**************************************************************************/ |
/include/neorv32_twi.h
1,5 → 1,5
// ################################################################################################# |
// # << NEORV32: neorv32_twi.h - Two-Wire Interface Master (TWI) HW Driver >> # |
// # << NEORV32: neorv32_twi.h - Two-Wire Interface Controller (TWI) HW Driver >> # |
// # ********************************************************************************************* # |
// # BSD 3-Clause License # |
// # # |
36,7 → 36,7
/**********************************************************************//** |
* @file neorv32_twi.h |
* @author Stephan Nolting |
* @brief Two-Wire Interface Master (TWI) HW driver header file. |
* @brief Two-Wire Interface Controller (TWI) HW driver header file. |
* |
* @note These functions should only be used if the TWI unit was synthesized (IO_TWI_USE = true). |
**************************************************************************/ |
/source/neorv32_spi.c
1,5 → 1,5
// ################################################################################################# |
// # << NEORV32: neorv32_spi.c - Serial Peripheral Interface Master (SPI) HW Driver >> # |
// # << NEORV32: neorv32_spi.c - Serial Peripheral Interface Controller (SPI) HW Driver >> # |
// # ********************************************************************************************* # |
// # BSD 3-Clause License # |
// # # |
36,7 → 36,7
/**********************************************************************//** |
* @file neorv32_spi.c |
* @author Stephan Nolting |
* @brief Serial peripheral interface master (SPI) HW driver source file. |
* @brief Serial peripheral interface controller (SPI) HW driver source file. |
* |
* @note These functions should only be used if the SPI unit was synthesized (IO_SPI_USE = true). |
**************************************************************************/ |
/source/neorv32_twi.c
1,5 → 1,5
// ################################################################################################# |
// # << NEORV32: neorv32_twi.c - Two-Wire Interface Master (TWI) HW Driver >> # |
// # << NEORV32: neorv32_twi.c - Two-Wire Interface Controller (TWI) HW Driver >> # |
// # ********************************************************************************************* # |
// # BSD 3-Clause License # |
// # # |
36,7 → 36,7
/**********************************************************************//** |
* @file neorv32_twi.c |
* @author Stephan Nolting |
* @brief Two-Wire Interface Master (TWI) HW driver source file. |
* @brief Two-Wire Interface Controller (TWI) HW driver source file. |
* |
* @note These functions should only be used if the TWI unit was synthesized (IO_TWI_USE = true). |
**************************************************************************/ |
94,7 → 94,7
|
|
/**********************************************************************//** |
* Activate sending ACKs by master (MACK). |
* Activate sending ACKs by controller (MACK). |
**************************************************************************/ |
void neorv32_twi_mack_enable(void) { |
|
103,7 → 103,7
|
|
/**********************************************************************//** |
* Deacivate sending ACKs by master (MACK). |
* Deacivate sending ACKs by controller (MACK). |
**************************************************************************/ |
void neorv32_twi_mack_disable(void) { |
|