update from Atmel Start (just loading + re-exporting the project)
Change-Id: I59b2442a95871b8052bfdfdac6d77a7207d8b70a
diff --git a/sysmoOCTSIM/hal/include/hpl_spi_m_async.h b/sysmoOCTSIM/hal/include/hpl_spi_m_async.h
index 69dd435..8d3555e 100644
--- a/sysmoOCTSIM/hal/include/hpl_spi_m_async.h
+++ b/sysmoOCTSIM/hal/include/hpl_spi_m_async.h
@@ -60,6 +60,10 @@
#define _spi_m_async_dev_cb_xfer_t _spi_async_dev_cb_xfer_t
/**
+ * \name HPL functions
+ */
+//@{
+/**
* \brief Initialize SPI for access with interrupts
* It will load default hardware configuration and software struct.
* \param[in, out] dev Pointer to the SPI device instance.
@@ -229,6 +233,7 @@
*/
void _spi_m_async_set_irq_state(struct _spi_m_async_dev *const device, const enum _spi_m_async_dev_cb_type type,
const bool state);
+//@}
#ifdef __cplusplus
}
diff --git a/sysmoOCTSIM/hal/include/hpl_spi_m_dma.h b/sysmoOCTSIM/hal/include/hpl_spi_m_dma.h
index f481fb8..2b48300 100644
--- a/sysmoOCTSIM/hal/include/hpl_spi_m_dma.h
+++ b/sysmoOCTSIM/hal/include/hpl_spi_m_dma.h
@@ -54,6 +54,10 @@
#define _spi_m_dma_dev_cb_type _spi_dma_dev_cb_type
/**
+ * \name HPL functions
+ */
+//@{
+/**
* \brief Initialize SPI for access with interrupts
* It will load default hardware configuration and software struct.
* \param[in, out] dev Pointer to the SPI device instance.
@@ -168,6 +172,7 @@
*/
int32_t _spi_m_dma_transfer(struct _spi_m_dma_dev *dev, uint8_t const *txbuf, uint8_t *const rxbuf,
const uint16_t length);
+//@}
#ifdef __cplusplus
}
diff --git a/sysmoOCTSIM/hal/include/hpl_spi_m_sync.h b/sysmoOCTSIM/hal/include/hpl_spi_m_sync.h
index 01e8fc3..38df15b 100644
--- a/sysmoOCTSIM/hal/include/hpl_spi_m_sync.h
+++ b/sysmoOCTSIM/hal/include/hpl_spi_m_sync.h
@@ -47,10 +47,14 @@
extern "C" {
#endif
-/** Uses common SPI async device driver. */
+/** Uses common SPI sync device driver. */
#define _spi_m_sync_dev _spi_sync_dev
/**
+ * \name HPL functions
+ */
+//@{
+/**
* \brief Initialize SPI for access without interrupts
* It will load default hardware configuration and software struct.
* \param[in, out] dev Pointer to the SPI device instance.
@@ -118,7 +122,7 @@
int32_t _spi_m_sync_set_baudrate(struct _spi_m_sync_dev *dev, const uint32_t baud_val);
/**
- * \brief Set SPI baudrate
+ * \brief Set SPI char size
* \param[in, out] dev Pointer to the SPI device instance.
* \param[in] char_size The character size, see \ref spi_char_size.
* \return Operation status.
@@ -152,6 +156,7 @@
* \retval >=0 Number of characters transferred.
*/
int32_t _spi_m_sync_trans(struct _spi_m_sync_dev *dev, const struct spi_msg *msg);
+//@}
#ifdef __cplusplus
}
diff --git a/sysmoOCTSIM/hal/include/hpl_spi_s_async.h b/sysmoOCTSIM/hal/include/hpl_spi_s_async.h
index 2892e2c..5647243 100644
--- a/sysmoOCTSIM/hal/include/hpl_spi_s_async.h
+++ b/sysmoOCTSIM/hal/include/hpl_spi_s_async.h
@@ -59,6 +59,10 @@
#define _spi_s_async_dev_cb_xfer_t _spi_async_dev_cb_xfer_t
/**
+ * \name HPL functions
+ */
+//@{
+/**
* \brief Initialize SPI for access with interrupts
* It will load default hardware configuration and software struct.
* \param[in, out] dev Pointer to the SPI device instance.
@@ -218,6 +222,7 @@
*/
void _spi_s_async_set_irq_state(struct _spi_s_async_dev *const device, const enum _spi_async_dev_cb_type type,
const bool state);
+//@}
#ifdef __cplusplus
}
diff --git a/sysmoOCTSIM/hal/include/hpl_spi_s_sync.h b/sysmoOCTSIM/hal/include/hpl_spi_s_sync.h
index 4fda095..ff4c811 100644
--- a/sysmoOCTSIM/hal/include/hpl_spi_s_sync.h
+++ b/sysmoOCTSIM/hal/include/hpl_spi_s_sync.h
@@ -46,10 +46,14 @@
extern "C" {
#endif
-/** Uses common SPI async device driver. */
+/** Uses common SPI sync device driver. */
#define _spi_s_sync_dev _spi_sync_dev
/**
+ * \name HPL functions
+ */
+//@{
+/**
* \brief Initialize SPI for access without interrupts
* It will load default hardware configuration and software struct.
* \param[in, out] dev Pointer to the SPI device instance.
@@ -218,6 +222,7 @@
* \retval false Error not detected
*/
bool _spi_s_sync_is_error(struct _spi_s_sync_dev *dev);
+//@}
#ifdef __cplusplus
}