Skip to content

Commit

Permalink
Fix typos (s/FRQUENCY/FREQUENCY/)
Browse files Browse the repository at this point in the history
Fix various typos FRQUENCY -> FREQUENCY
  • Loading branch information
simbit18 authored and xiaoxiang781216 committed May 12, 2023
1 parent 0a40287 commit aa0cb3f
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 64 deletions.
16 changes: 8 additions & 8 deletions arch/arm/src/lpc43xx/lpc43_cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ************************************************************/

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/sama5/sam_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions arch/arm/src/samd2l2/samd_clockconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions arch/arm/src/samd2l2/saml_clockconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions boards/arm/samd2l2/arduino-m0/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions boards/arm/samd2l2/circuit-express/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions boards/arm/samd2l2/samd20-xplained/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions boards/arm/samd2l2/samd21-xplained/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/samd2l2/saml21-xplained/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/xmc4/xmc4500-relax/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/xmc4/xmc4700-relax/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit aa0cb3f

Please sign in to comment.