From aa0cb3f76f1575724e1db023aaa1b1975286b3fa Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 12 May 2023 16:08:22 +0200 Subject: [PATCH] Fix typos (s/FRQUENCY/FREQUENCY/) Fix various typos FRQUENCY -> FREQUENCY --- arch/arm/src/lpc43xx/lpc43_cgu.c | 16 ++++++++-------- arch/arm/src/sama5/sam_can.c | 2 +- arch/arm/src/samd2l2/samd_clockconfig.c | 18 +++++++++--------- arch/arm/src/samd2l2/saml_clockconfig.c | 14 +++++++------- boards/arm/samd2l2/arduino-m0/include/board.h | 18 +++++++++--------- .../samd2l2/circuit-express/include/board.h | 18 +++++++++--------- .../samd2l2/samd20-xplained/include/board.h | 18 +++++++++--------- .../samd2l2/samd21-xplained/include/board.h | 18 +++++++++--------- .../samd2l2/saml21-xplained/include/board.h | 2 +- boards/arm/xmc4/xmc4500-relax/include/board.h | 2 +- boards/arm/xmc4/xmc4700-relax/include/board.h | 2 +- 11 files changed, 64 insertions(+), 64 deletions(-) diff --git a/arch/arm/src/lpc43xx/lpc43_cgu.c b/arch/arm/src/lpc43xx/lpc43_cgu.c index 43d47a5d02..2fa72461bd 100644 --- a/arch/arm/src/lpc43xx/lpc43_cgu.c +++ b/arch/arm/src/lpc43xx/lpc43_cgu.c @@ -40,9 +40,9 @@ #define LOW_XTAL_FREQUENCY 15000000 #define MAX_XTAL_FREQUENCY 25000000 -#define MAX_FCLKOUT_FREQUENCY 204000000 -#define MAX_FCLKOUT_DIRECT 156000000 -#define MAX_FCCO_FRQUENCY 320000000 +#define MAX_FCLKOUT_FREQUENCY 204000000 +#define MAX_FCLKOUT_DIRECT 156000000 +#define MAX_FCCO_FREQUENCY 320000000 /* Configuration ************************************************************/ @@ -66,7 +66,7 @@ # error "BOARD_FCLKOUT_FREQUENCY exceed the maximum" #endif -#if BOARD_FCCO_FREQUENCY > MAX_FCCO_FRQUENCY +#if BOARD_FCCO_FREQUENCY > MAX_FCCO_FREQUENCY # error "BOARD_FCCO_FREQUENCY exceed the maximum" #endif @@ -97,13 +97,13 @@ # error "BOARD_XTAL_FREQUENCY value is not supported" # endif -# if (2 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FRQUENCY +# if (2 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FREQUENCY # error "Impossible value for BOARD_XTAL_FREQUENCY" -# elif (2 * 2 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FRQUENCY +# elif (2 * 2 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FREQUENCY # define INIT_PSEL_VALUE PLL1_CTRL_PSEL_DIV1 -# elif (2 * 4 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FRQUENCY +# elif (2 * 4 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FREQUENCY # define INIT_PSEL_VALUE PLL1_CTRL_PSEL_DIV2 -# elif (2 * 8 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FRQUENCY +# elif (2 * 8 * BOARD_XTAL_FREQUENCY) > MAX_FCCO_FREQUENCY # define INIT_PSEL_VALUE PLL1_CTRL_PSEL_DIV4 # else # define INIT_PSEL_VALUE PLL1_CTRL_PSEL_DIV8 diff --git a/arch/arm/src/sama5/sam_can.c b/arch/arm/src/sama5/sam_can.c index b02e532857..5d2bbac91c 100644 --- a/arch/arm/src/sama5/sam_can.c +++ b/arch/arm/src/sama5/sam_can.c @@ -1639,7 +1639,7 @@ static int can_bittiming(struct sam_can_s *priv) * selected Tq value, the desired BAUD and the CAN peripheral clock * frequency. * - * Tq = (BRP + 1) / CAN_FRQUENCY + * Tq = (BRP + 1) / CAN_FREQUENCY * Tbit = Nquanta * (BRP + 1) / Fcan * baud = Fcan / (Nquanta * (brp + 1)) * brp = Fcan / (baud * nquanta) - 1 diff --git a/arch/arm/src/samd2l2/samd_clockconfig.c b/arch/arm/src/samd2l2/samd_clockconfig.c index cdcc9ac06f..fa38ccea25 100644 --- a/arch/arm/src/samd2l2/samd_clockconfig.c +++ b/arch/arm/src/samd2l2/samd_clockconfig.c @@ -883,15 +883,15 @@ static inline void sam_config_gclks(void) * Setup PM main clock dividers to generate CPU, AHB, and APB clocks. * Depends on: * - * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions - * BOARD_APBA_FRQUENCY - In Hz - * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions - * BOARD_APBB_FRQUENCY - In Hz - * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions - * BOARD_APBC_FRQUENCY - In Hz + * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions + * BOARD_APBA_FREQUENCY - In Hz + * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions + * BOARD_APBB_FREQUENCY - In Hz + * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions + * BOARD_APBC_FREQUENCY - In Hz * * Input Parameters: * None diff --git a/arch/arm/src/samd2l2/saml_clockconfig.c b/arch/arm/src/samd2l2/saml_clockconfig.c index 9ac93cf8db..a612e41222 100644 --- a/arch/arm/src/samd2l2/saml_clockconfig.c +++ b/arch/arm/src/samd2l2/saml_clockconfig.c @@ -1162,13 +1162,13 @@ static inline void sam_fdpll96m_refclk(void) * Setup PM main clock dividers to generate CPU and AHB. * Depends on: * - * BOARD_CPU_DIVIDER - See MCLK_CPUDIV_DIV* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_LOWPOWER_DIVIDER - See MCLK_LPDIV_DIV_* definitions - * BOARD_LOWPOWER_FREQUENCY - In Hz - * BOARD_BACKUP_DIVIDER - See MCLK_BUPDIV_DIV_* definitions - * BOARD_BACKUP_FREQUENCY - In Hz + * BOARD_CPU_DIVIDER - See MCLK_CPUDIV_DIV* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_LOWPOWER_DIVIDER - See MCLK_LPDIV_DIV_* definitions + * BOARD_LOWPOWER_FREQUENCY - In Hz + * BOARD_BACKUP_DIVIDER - See MCLK_BUPDIV_DIV_* definitions + * BOARD_BACKUP_FREQUENCY - In Hz * * Input Parameters: * None diff --git a/boards/arm/samd2l2/arduino-m0/include/board.h b/boards/arm/samd2l2/arduino-m0/include/board.h index bc525c7e33..254f31c391 100644 --- a/boards/arm/samd2l2/arduino-m0/include/board.h +++ b/boards/arm/samd2l2/arduino-m0/include/board.h @@ -286,15 +286,15 @@ /* Main clock dividers * - * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions - * BOARD_APBA_FRQUENCY - In Hz - * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions - * BOARD_APBB_FRQUENCY - In Hz - * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions - * BOARD_APBC_FRQUENCY - In Hz + * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions + * BOARD_APBA_FREQUENCY - In Hz + * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions + * BOARD_APBB_FREQUENCY - In Hz + * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions + * BOARD_APBC_FREQUENCY - In Hz */ #define BOARD_CPU_FAILDECT 1 diff --git a/boards/arm/samd2l2/circuit-express/include/board.h b/boards/arm/samd2l2/circuit-express/include/board.h index f55fc80c7e..1d5937e478 100644 --- a/boards/arm/samd2l2/circuit-express/include/board.h +++ b/boards/arm/samd2l2/circuit-express/include/board.h @@ -279,15 +279,15 @@ /* Main clock dividers * - * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions - * BOARD_APBA_FRQUENCY - In Hz - * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions - * BOARD_APBB_FRQUENCY - In Hz - * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions - * BOARD_APBC_FRQUENCY - In Hz + * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions + * BOARD_APBA_FREQUENCY - In Hz + * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions + * BOARD_APBB_FREQUENCY - In Hz + * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions + * BOARD_APBC_FREQUENCY - In Hz */ #define BOARD_CPU_FAILDECT 1 diff --git a/boards/arm/samd2l2/samd20-xplained/include/board.h b/boards/arm/samd2l2/samd20-xplained/include/board.h index b2ed9c9c44..d0e46821cf 100644 --- a/boards/arm/samd2l2/samd20-xplained/include/board.h +++ b/boards/arm/samd2l2/samd20-xplained/include/board.h @@ -286,15 +286,15 @@ /* Main clock dividers * - * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions - * BOARD_APBA_FRQUENCY - In Hz - * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions - * BOARD_APBB_FRQUENCY - In Hz - * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions - * BOARD_APBC_FRQUENCY - In Hz + * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions + * BOARD_APBA_FREQUENCY - In Hz + * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions + * BOARD_APBB_FREQUENCY - In Hz + * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions + * BOARD_APBC_FREQUENCY - In Hz */ #define BOARD_CPU_FAILDECT 1 diff --git a/boards/arm/samd2l2/samd21-xplained/include/board.h b/boards/arm/samd2l2/samd21-xplained/include/board.h index 4990bea09c..ecd34043ae 100644 --- a/boards/arm/samd2l2/samd21-xplained/include/board.h +++ b/boards/arm/samd2l2/samd21-xplained/include/board.h @@ -286,15 +286,15 @@ /* Main clock dividers * - * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions - * BOARD_CPU_FRQUENCY - In Hz - * BOARD_CPU_FAILDECT - Boolean (defined / not defined) - * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions - * BOARD_APBA_FRQUENCY - In Hz - * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions - * BOARD_APBB_FRQUENCY - In Hz - * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions - * BOARD_APBC_FRQUENCY - In Hz + * BOARD_CPU_DIVIDER - See PM_CPUSEL_CPUDIV_* definitions + * BOARD_CPU_FREQUENCY - In Hz + * BOARD_CPU_FAILDECT - Boolean (defined / not defined) + * BOARD_APBA_DIVIDER - See M_APBASEL_APBADIV_* definitions + * BOARD_APBA_FREQUENCY - In Hz + * BOARD_APBB_DIVIDER - See M_APBBSEL_APBBDIV_* definitions + * BOARD_APBB_FREQUENCY - In Hz + * BOARD_APBC_DIVIDER - See M_APBCSEL_APBCDIV_* definitions + * BOARD_APBC_FREQUENCY - In Hz */ #define BOARD_CPU_FAILDECT 1 diff --git a/boards/arm/samd2l2/saml21-xplained/include/board.h b/boards/arm/samd2l2/saml21-xplained/include/board.h index c6b9d41658..ef28f9ceeb 100644 --- a/boards/arm/samd2l2/saml21-xplained/include/board.h +++ b/boards/arm/samd2l2/saml21-xplained/include/board.h @@ -429,7 +429,7 @@ /* Main clock dividers * * BOARD_CPU_DIVIDER - See MCLK_CPUDIV_DIV* definitions - * BOARD_CPU_FRQUENCY - In Hz + * BOARD_CPU_FREQUENCY - In Hz * BOARD_CPU_FAILDECT - Boolean (defined / not defined) * BOARD_LOWPOWER_DIVIDER - See MCLK_LPDIV_DIV_* definitions * BOARD_LOWPOWER_FREQUENCY - In Hz diff --git a/boards/arm/xmc4/xmc4500-relax/include/board.h b/boards/arm/xmc4/xmc4500-relax/include/board.h index f12cb442bf..f847d31850 100644 --- a/boards/arm/xmc4/xmc4500-relax/include/board.h +++ b/boards/arm/xmc4/xmc4500-relax/include/board.h @@ -66,7 +66,7 @@ */ #define BOARD_XTAL_FREQUENCY 12000000 /* 12MHz XTAL */ -#undef BOARD_RTC_XTAL_FRQUENCY /* 32.768KHz RTC XTAL not available on the Relax Lite */ +#undef BOARD_RTC_XTAL_FREQUENCY /* 32.768KHz RTC XTAL not available on the Relax Lite */ /* TODO: enable the RTC osc, use RTC for time/date */ diff --git a/boards/arm/xmc4/xmc4700-relax/include/board.h b/boards/arm/xmc4/xmc4700-relax/include/board.h index b09f3a4c69..2a1c1d7b60 100644 --- a/boards/arm/xmc4/xmc4700-relax/include/board.h +++ b/boards/arm/xmc4/xmc4700-relax/include/board.h @@ -62,7 +62,7 @@ /* On-board crystals */ #define BOARD_XTAL_FREQUENCY 12000000 /* 12MHz XTAL */ -#define BOARD_RTC_XTAL_FRQUENCY 32769 /* 32.768KHz RTC XTAL */ +#define BOARD_RTC_XTAL_FREQUENCY 32769 /* 32.768KHz RTC XTAL */ /* TODO: enable the RTC osc, use RTC for time/date */