aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/LLD')
-rw-r--r--os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c5
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c3
3 files changed, 7 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
index 309a32f31..09dbac7f0 100644
--- a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
+++ b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.c
@@ -68,6 +68,7 @@ CANDriver CAND3;
/**
* @brief Programs the filters of CAN 1 and CAN 2.
*
+ * @param[in] canp pointer to the @p CANDriver object
* @param[in] can2sb number of the first filter assigned to CAN2
* @param[in] num number of entries in the filters array, if zero then
* a default filter is programmed
@@ -1006,6 +1007,7 @@ void can_lld_wakeup(CANDriver *canp) {
* @brief Programs the filters.
* @note This is an STM32-specific API.
*
+ * @param[in] canp pointer to the @p CANDriver object
* @param[in] can2sb number of the first filter assigned to CAN2
* @param[in] num number of entries in the filters array, if zero then
* a default filter is programmed
@@ -1014,7 +1016,8 @@ void can_lld_wakeup(CANDriver *canp) {
*
* @api
*/
-void canSTM32SetFilters(CANDriver *canp, uint32_t can2sb, uint32_t num, const CANFilter *cfp) {
+void canSTM32SetFilters(CANDriver *canp, uint32_t can2sb,
+ uint32_t num, const CANFilter *cfp) {
#if STM32_CAN_USE_CAN2
osalDbgCheck((can2sb <= STM32_CAN_MAX_FILTERS) &&
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
index eb2a00933..6c59357c7 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c
@@ -154,7 +154,7 @@ UARTDriver UARTD8;
/**
* @brief Status bits translation.
*
- * @param[in] sr USART SR register value
+ * @param[in] isr USART SR register value
*
* @return The error flags.
*/
diff --git a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
index 2e60a0465..f81fa722d 100644
--- a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
+++ b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c
@@ -107,6 +107,7 @@ static void usb_pm_reset(USBDriver *usbp) {
*
* @param[in] usbp pointer to the @p USBDriver object
* @param[in] size size of the packet buffer to allocate
+ * @return The packet buffer address.
*/
static uint32_t usb_pm_alloc(USBDriver *usbp, size_t size) {
uint32_t next;
@@ -120,7 +121,7 @@ static uint32_t usb_pm_alloc(USBDriver *usbp, size_t size) {
/**
* @brief Reads from a dedicated packet buffer.
*
- * @param[in] udp pointer to a @p stm32_usb_descriptor_t
+ * @param[in] ep endpoint number
* @param[out] buf buffer where to copy the packet data
* @return The size of the receivee packet.
*