Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #117

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion drivers/include/nrfx_grtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/include/nrfx_usbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/src/nrfx_uarte.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion hal/nrf_aar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hal/nrf_radio.h
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ NRF_STATIC_INLINE uint8_t nrf_radio_ed_sample_get(NRF_RADIO_Type const * p_reg);
* @param[in] cca_mode Mode of CCA.
* @param[in] cca_ed_threshold Energy Detection threshold value.
* @param[in] cca_corr_threshold Correlator Busy Threshold.
* @param[in] cca_corr_cnt Limit of occurances above Correlator Threshold.
* @param[in] cca_corr_cnt Limit of occurrences above Correlator Threshold.
* When not equal to zero the correlator based
* signal detect is enabled.
*/
Expand Down
4 changes: 2 additions & 2 deletions haly/nrfy_uarte.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down