aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_sio_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-28 09:30:06 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-28 09:30:06 +0000
commite442d39b3efa6acbaecbc396b39a3db3171e6a72 (patch)
tree81cc3d197aeff57afc93d49d16286aba769ec817 /os/hal/templates/hal_sio_lld.h
parent3f4d993626c7e8e3bd293b666d9a0cdc739ef678 (diff)
downloadChibiOS-e442d39b3efa6acbaecbc396b39a3db3171e6a72.tar.gz
ChibiOS-e442d39b3efa6acbaecbc396b39a3db3171e6a72.tar.bz2
ChibiOS-e442d39b3efa6acbaecbc396b39a3db3171e6a72.zip
Added notes, removed unused types.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12303 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/templates/hal_sio_lld.h')
-rw-r--r--os/hal/templates/hal_sio_lld.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/os/hal/templates/hal_sio_lld.h b/os/hal/templates/hal_sio_lld.h
index c78de4da9..a54df4b70 100644
--- a/os/hal/templates/hal_sio_lld.h
+++ b/os/hal/templates/hal_sio_lld.h
@@ -86,20 +86,24 @@ typedef void (*sioecb_t)(SIODriver *siop, sioflags_t e);
struct hal_sio_config {
/**
* @brief Receive buffer filled callback.
+ * @note Can be @p NULL.
*/
- siocb_t rxne_cb;
+ siocb_t rxne_cb;
/**
* @brief End of transmission buffer callback.
+ * @note Can be @p NULL.
*/
- siocb_t txnf_cb;
+ siocb_t txnf_cb;
/**
* @brief Physical end of transmission callback.
+ * @note Can be @p NULL.
*/
- siocb_t txend_cb;
+ siocb_t txend_cb;
/**
* @brief Receive event callback.
+ * @note Can be @p NULL.
*/
- sioecb_t rxevt_cb;
+ siocb_t rxevt_cb;
/* End of the mandatory fields.*/
};