From c4aa37ee2fa8c343dd43df87316e851991ce9a38 Mon Sep 17 00:00:00 2001 From: Lucas Saavedra Vaz Date: Mon, 23 Jan 2023 15:53:43 -0300 Subject: [PATCH] arch/xtensa: Fix 'interruption' typos --- arch/xtensa/src/esp32/esp32_rtc_gpio.c | 8 ++++---- arch/xtensa/src/esp32/esp32_touch_lowerhalf.h | 14 +++++++------- arch/xtensa/src/esp32s2/esp32s2_touch_lowerhalf.h | 6 +++--- arch/xtensa/src/esp32s3/esp32s3_touch_lowerhalf.h | 6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/xtensa/src/esp32/esp32_rtc_gpio.c b/arch/xtensa/src/esp32/esp32_rtc_gpio.c index 9aad6837b6..aed857caa3 100644 --- a/arch/xtensa/src/esp32/esp32_rtc_gpio.c +++ b/arch/xtensa/src/esp32/esp32_rtc_gpio.c @@ -118,8 +118,8 @@ static inline bool is_valid_rtc_gpio(uint32_t rtcio_num) * * Input Parameters: * irq - The IRQ number; - * status - The interruption status register; - * context - The interruption context. + * status - The interrupt status register; + * context - The interrupt context. * * Returned Value: * None. @@ -163,7 +163,7 @@ static void rtcio_dispatch(int irq, uint32_t status, uint32_t *context) * * Input Parameters: * irq - The IRQ number; - * context - The interruption context; + * context - The interrupt context; * args - The arguments passed to the handler. * * Returned Value: @@ -330,7 +330,7 @@ int esp32_configrtcio(int rtcio_num, rtcio_pinattr_t attr) * * Description: * Initialize logic to support a second level of interrupt decoding for - * RTC interruptions. + * RTC interrupts. * ****************************************************************************/ diff --git a/arch/xtensa/src/esp32/esp32_touch_lowerhalf.h b/arch/xtensa/src/esp32/esp32_touch_lowerhalf.h index da753d670b..59e727ac30 100644 --- a/arch/xtensa/src/esp32/esp32_touch_lowerhalf.h +++ b/arch/xtensa/src/esp32/esp32_touch_lowerhalf.h @@ -48,7 +48,7 @@ * we need to swap the bits. */ -#define TOUCH_LH_BITSWAP(data, n, m) ((((data) >> (n)) & 0x1) == \ +#define TOUCH_LH_BITSWAP(data, n, m) ((((data) >> (n)) & 0x1) == \ (((data) >> (m)) & 0x1) ? (data) : \ ((data) ^ ((0x1 << (n)) | \ (0x1 << (m))))) @@ -888,13 +888,13 @@ static inline void touch_lh_clear_group_mask(uint16_t group1_mask, * Name: touch_lh_read_trigger_status_mask * * Description: - * Get the channels that triggered a touch interruption. + * Get the channels that triggered a touch interrupt. * * Input Parameters: * None. * * Returned Value: - * Bitmask of the channels that triggered a touch interruption. + * Bitmask of the channels that triggered a touch interrupt. * ****************************************************************************/ @@ -908,7 +908,7 @@ static inline uint32_t touch_lh_read_trigger_status_mask(void) * Name: touch_lh_clear_trigger_status_mask * * Description: - * Clear the touch interruption channels bitmask. + * Clear the touch interrupt channels bitmask. * * Input Parameters: * None. @@ -927,7 +927,7 @@ static inline void touch_lh_clear_trigger_status_mask(void) * Name: touch_lh_intr_enable * * Description: - * Enable the touch interruption. + * Enable the touch interrupt. * * Input Parameters: * None. @@ -946,7 +946,7 @@ static inline void touch_lh_intr_enable(void) * Name: touch_lh_intr_disable * * Description: - * Disable the touch interruption. + * Disable the touch interrupt. * * Input Parameters: * None. @@ -965,7 +965,7 @@ static inline void touch_lh_intr_disable(void) * Name: touch_lh_intr_clear * * Description: - * Clear the touch interruption status. + * Clear the touch interrupt status. * * Input Parameters: * None. diff --git a/arch/xtensa/src/esp32s2/esp32s2_touch_lowerhalf.h b/arch/xtensa/src/esp32s2/esp32s2_touch_lowerhalf.h index 1bc7289eb6..87b01a7137 100644 --- a/arch/xtensa/src/esp32s2/esp32s2_touch_lowerhalf.h +++ b/arch/xtensa/src/esp32s2/esp32s2_touch_lowerhalf.h @@ -777,13 +777,13 @@ static inline void touch_lh_clear_channel_mask(uint16_t disable_mask) * Name: touch_lh_read_trigger_status_mask * * Description: - * Get the channels that triggered a touch interruption. + * Get the channels that triggered a touch interrupt. * * Input Parameters: * None. * * Returned Value: - * Bitmask of the channels that triggered a touch interruption. + * Bitmask of the channels that triggered a touch interrupt. * ****************************************************************************/ @@ -796,7 +796,7 @@ static inline uint32_t touch_lh_read_trigger_status_mask(void) * Name: touch_lh_clear_trigger_status_mask * * Description: - * Clear the touch interruption channels bitmask. + * Clear the touch interrupt channels bitmask. * * Input Parameters: * None. diff --git a/arch/xtensa/src/esp32s3/esp32s3_touch_lowerhalf.h b/arch/xtensa/src/esp32s3/esp32s3_touch_lowerhalf.h index bdff772851..12830a9800 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_touch_lowerhalf.h +++ b/arch/xtensa/src/esp32s3/esp32s3_touch_lowerhalf.h @@ -808,13 +808,13 @@ static inline void touch_lh_clear_channel_mask(uint16_t disable_mask) * Name: touch_lh_read_trigger_status_mask * * Description: - * Get the channels that triggered a touch interruption. + * Get the channels that triggered a touch interrupt. * * Input Parameters: * None. * * Returned Value: - * Bitmask of the channels that triggered a touch interruption. + * Bitmask of the channels that triggered a touch interrupt. * ****************************************************************************/ @@ -827,7 +827,7 @@ static inline uint32_t touch_lh_read_trigger_status_mask(void) * Name: touch_lh_clear_trigger_status_mask * * Description: - * Clear the touch interruption channels bitmask. + * Clear the touch interrupt channels bitmask. * * Input Parameters: * None.