From f7142a33b757a8dee679d8cbbcca017a05a21eae Mon Sep 17 00:00:00 2001 From: Reto Schneider Date: Wed, 20 Mar 2024 23:48:34 +0100 Subject: [PATCH] spelling: Fix spelling of occurred As the `mdk` directory contains generated code, this commit only changes files outside of this directory. Signed-off-by: Reto Schneider --- CHANGELOG.md | 2 +- drivers/include/nrfx_grtc.h | 2 +- drivers/include/nrfx_usbd.h | 2 +- drivers/src/nrfx_uarte.c | 2 +- hal/nrf_aar.h | 2 +- haly/nrfy_uarte.h | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11b06cfeb..573b607a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -344,7 +344,7 @@ All notable changes to this project are documented in this file. ### Fixed - Fixed unused parameters in the PPI, CLOCK, SPIM and POWER drivers to resolve compilation warnings, such as 'flags' in the SPIM driver. -- Fixed a race condition in the COMP driver when interrupt occured before update of the driver internal state. +- Fixed a race condition in the COMP driver when interrupt occurred before update of the driver internal state. - Fixed minor C++ compilation warnings in the drivers. - Fixed implementation of workaround for nRF52 Series anomaly 197 in the POWER HAL, which was applied in incorrect configuration. - Fixed implementation of workaround for nRF53 Series anomaly 4 in the CLOCK driver, which was applied in incorrect configuration. diff --git a/drivers/include/nrfx_grtc.h b/drivers/include/nrfx_grtc.h index e11d2d21b..518656c48 100644 --- a/drivers/include/nrfx_grtc.h +++ b/drivers/include/nrfx_grtc.h @@ -105,7 +105,7 @@ typedef enum typedef struct { uint32_t timeout; /**< Delay in LFCLK cycles after the condition allowing SYSCOUNTER to go to sleep is met. */ - uint32_t waketime; /**< Number of LFCLK cycles to wakeup the SYSCOUNTER before the wake-up event occured. */ + uint32_t waketime; /**< Number of LFCLK cycles to wakeup the SYSCOUNTER before the wake-up event occurred. */ bool auto_mode; /**< Enable automatic mode, which keeps the SYSCOUNTER active when any of the local CPUs is active. */ } nrfx_grtc_sleep_config_t; diff --git a/drivers/include/nrfx_usbd.h b/drivers/include/nrfx_usbd.h index 3278e8464..702297e6f 100644 --- a/drivers/include/nrfx_usbd.h +++ b/drivers/include/nrfx_usbd.h @@ -161,7 +161,7 @@ typedef enum */ typedef enum { - NRFX_USBD_EP_OK, /**< No error occured. */ + NRFX_USBD_EP_OK, /**< No error occurred. */ NRFX_USBD_EP_WAITING, /**< Data received, no buffer prepared already - waiting for configured transfer. */ NRFX_USBD_EP_OVERLOAD, /**< Received number of bytes cannot fit given buffer. * This error would also be returned when next_transfer function has been defined diff --git a/drivers/src/nrfx_uarte.c b/drivers/src/nrfx_uarte.c index 14e3fa387..1fbb9aa74 100644 --- a/drivers/src/nrfx_uarte.c +++ b/drivers/src/nrfx_uarte.c @@ -98,7 +98,7 @@ // is in the memory that cannot be used by the DMA. #define UARTE_FLAG_TX_USE_CACHE UARTE_FLAG(TX, 1) -// Flag is used to indicate that asynchronous TX transfer request occured during blocking transfer. +// Flag is used to indicate that asynchronous TX transfer request occurred during blocking transfer. // Asynchronous pending transfer is started immediately after the current blocking transfer is // completed. #define UARTE_FLAG_TX_PENDING UARTE_FLAG(TX, 2) diff --git a/hal/nrf_aar.h b/hal/nrf_aar.h index 36adf66f6..e62155965 100644 --- a/hal/nrf_aar.h +++ b/hal/nrf_aar.h @@ -444,7 +444,7 @@ NRF_STATIC_INLINE uint8_t * nrf_aar_scratch_pointer_get(NRF_AAR_Type const * p_r * the last time an address was resolved. * * This function can be used to get the IRK index that matched the resolvable address, - * provided that @ref NRF_AAR_EVENT_RESOLVED occured. Otherwise, it will return + * provided that @ref NRF_AAR_EVENT_RESOLVED occurred. Otherwise, it will return * the index of the last IRK stored in the IRK data structure. * * @param[in] p_reg Pointer to the structure of registers of the peripheral. diff --git a/haly/nrfy_uarte.h b/haly/nrfy_uarte.h index f9122abc2..11c5c0b09 100644 --- a/haly/nrfy_uarte.h +++ b/haly/nrfy_uarte.h @@ -246,7 +246,7 @@ NRFY_STATIC_INLINE void nrfy_uarte_stop(NRF_UARTE_Type * p_reg, * @param[in] p_reg Pointer to the structure of registers of the peripheral. * @param[in] wait True for blocking transmission, false otherwise. * - * @return Mask of events occured, created by @ref NRFY_EVENT_TO_INT_BITMASK(). + * @return Mask of events occurred, created by @ref NRFY_EVENT_TO_INT_BITMASK(). * Always 0 for non-blocking transmission. */ NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_start(NRF_UARTE_Type * p_reg, @@ -274,7 +274,7 @@ NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_start(NRF_UARTE_Type * p_reg, * @param[in] p_xfer Pointer to the structure containing reception buffer if the * reception is to be blocking. NULL for non-blocking reception. * - * @return Mask of events occured, created by @ref NRFY_EVENT_TO_INT_BITMASK(). + * @return Mask of events occurred, created by @ref NRFY_EVENT_TO_INT_BITMASK(). * Always 0 for non-blocking reception. */ NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_start(NRF_UARTE_Type * p_reg,