Line 78... |
Line 78... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx0_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx0_blocking(uint32_t tx_data) {
|
SLINK_CH0 = tx_data;
|
NEORV32_SLINK.DATA[0] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 1 (blocking!)
|
* Write data to TX stream link 1 (blocking!)
|
Line 90... |
Line 90... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx1_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx1_blocking(uint32_t tx_data) {
|
SLINK_CH1 = tx_data;
|
NEORV32_SLINK.DATA[1] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 2 (blocking!)
|
* Write data to TX stream link 2 (blocking!)
|
Line 102... |
Line 102... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx2_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx2_blocking(uint32_t tx_data) {
|
SLINK_CH2 = tx_data;
|
NEORV32_SLINK.DATA[2] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 3 (blocking!)
|
* Write data to TX stream link 3 (blocking!)
|
Line 114... |
Line 114... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx3_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx3_blocking(uint32_t tx_data) {
|
SLINK_CH3 = tx_data;
|
NEORV32_SLINK.DATA[3] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 4 (blocking!)
|
* Write data to TX stream link 4 (blocking!)
|
Line 126... |
Line 126... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx4_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx4_blocking(uint32_t tx_data) {
|
SLINK_CH4 = tx_data;
|
NEORV32_SLINK.DATA[4] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 5 (blocking!)
|
* Write data to TX stream link 5 (blocking!)
|
Line 138... |
Line 138... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx5_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx5_blocking(uint32_t tx_data) {
|
SLINK_CH5 = tx_data;
|
NEORV32_SLINK.DATA[5] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 6 (blocking!)
|
* Write data to TX stream link 6 (blocking!)
|
Line 150... |
Line 150... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx6_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx6_blocking(uint32_t tx_data) {
|
SLINK_CH6 = tx_data;
|
NEORV32_SLINK.DATA[6] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Write data to TX stream link 7 (blocking!)
|
* Write data to TX stream link 7 (blocking!)
|
Line 162... |
Line 162... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in] tx_data Data to send to link.
|
* @param[in] tx_data Data to send to link.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx7_blocking(uint32_t tx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_tx7_blocking(uint32_t tx_data) {
|
SLINK_CH7 = tx_data;
|
NEORV32_SLINK.DATA[7] = tx_data;
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 0 (blocking!)
|
* Read data from RX stream link 0 (blocking!)
|
Line 174... |
Line 174... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx0_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx0_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH0;
|
*rx_data = NEORV32_SLINK.DATA[0];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 1 (blocking!)
|
* Read data from RX stream link 1 (blocking!)
|
Line 186... |
Line 186... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx1_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx1_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH1;
|
*rx_data = NEORV32_SLINK.DATA[1];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 2 (blocking!)
|
* Read data from RX stream link 2 (blocking!)
|
Line 198... |
Line 198... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx2_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx2_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH2;
|
*rx_data = NEORV32_SLINK.DATA[2];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 3 (blocking!)
|
* Read data from RX stream link 3 (blocking!)
|
Line 210... |
Line 210... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx3_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx3_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH3;
|
*rx_data = NEORV32_SLINK.DATA[3];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 4 (blocking!)
|
* Read data from RX stream link 4 (blocking!)
|
Line 222... |
Line 222... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx4_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx4_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH4;
|
*rx_data = NEORV32_SLINK.DATA[4];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 5 (blocking!)
|
* Read data from RX stream link 5 (blocking!)
|
Line 234... |
Line 234... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx5_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx5_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH5;
|
*rx_data = NEORV32_SLINK.DATA[5];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 6 (blocking!)
|
* Read data from RX stream link 6 (blocking!)
|
Line 246... |
Line 246... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx6_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx6_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH6;
|
*rx_data = NEORV32_SLINK.DATA[6];
|
}
|
}
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Read data from RX stream link 7 (blocking!)
|
* Read data from RX stream link 7 (blocking!)
|
Line 258... |
Line 258... |
* @warning This function will raise an exception when the bus access times out!
|
* @warning This function will raise an exception when the bus access times out!
|
*
|
*
|
* @param[in,out] rx_data Pointer to return read data.
|
* @param[in,out] rx_data Pointer to return read data.
|
**************************************************************************/
|
**************************************************************************/
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx7_blocking(uint32_t *rx_data) {
|
inline void __attribute__ ((always_inline)) neorv32_slink_rx7_blocking(uint32_t *rx_data) {
|
*rx_data = SLINK_CH7;
|
*rx_data = NEORV32_SLINK.DATA[7];
|
}
|
}
|
|
|
|
|
#endif // neorv32_slink_h
|
#endif // neorv32_slink_h
|
|
|
No newline at end of file
|
No newline at end of file
|