22 * @file board.c
33 * @author Haven-X
44 * @brief Board setup for NS800RTxxx examples.
5- *
5+ *
66 * @note Board Configurations
7- * Initializes the rest of the modules.
7+ * Initializes the rest of the modules.
88 *
99 * <h2><center>© Copyright (c) 2025 Novosense Limited.
1010 * All rights reserved.</center></h2>
2727
2828/**
2929 * @brief Board Initialization.
30- * @note Call this function in your application if you wish to do all module
30+ * @note Call this function in your application if you wish to do all module
3131 * initialization.
32- * If you wish to not use some of the initializations, instead of the
32+ * If you wish to not use some of the initializations, instead of the
3333 * Board_init use the individual Module_inits.
3434 */
3535void Board_init (void )
@@ -42,7 +42,7 @@ void Board_init (void)
4242
4343/**
4444 * @brief PinMux Initialization.
45- * @note Call this function in your application if you want all
45+ * @note Call this function in your application if you want all
4646 * PinMux initialization to be done.
4747 */
4848void PinMux_init (void )
@@ -61,7 +61,7 @@ void PinMux_init (void)
6161
6262/**
6363 * @brief Board Serial Communication Interface Initialization.
64- * @note Call this function in the application to initialize the SCI serial port
64+ * @note Call this function in the application to initialize the SCI serial port
6565 * on the board for outputting debugging information.
6666 */
6767void SerialCOM_init (void )
@@ -90,7 +90,7 @@ void SerialCOM_init(void)
9090 UART_enableTxFifo (BOARD_SERIALCOM );
9191 UART_resetTxFifo (BOARD_SERIALCOM );
9292 UART_setTxFifoWatermark (BOARD_SERIALCOM , UART_FIFO_TX6 );
93-
93+
9494 /* Enable transmitter */
9595 UART_enableTxModule (BOARD_SERIALCOM );
9696 /* Enable receiver */
@@ -99,7 +99,7 @@ void SerialCOM_init(void)
9999
100100/**
101101 * @brief Board LED Initialization.
102- * @note Call this function in the application to initialize the LED
102+ * @note Call this function in the application to initialize the LED
103103 * on the board.
104104 */
105105void LED_init (void )
@@ -118,7 +118,7 @@ void LED_init (void)
118118
119119/**
120120 * @brief Board Switch Initialization.
121- * @note Call this function in the application to initialize the Switch
121+ * @note Call this function in the application to initialize the Switch
122122 * on the board.
123123 */
124124void Switch_init (void )
@@ -157,7 +157,7 @@ void System_setClock (void)
157157 RCC_configHxtl (HXTL_CONFIG , RCC_HXTL_NORMAL , RCC_FUN_ON );
158158#endif
159159 RCC_configPll (PLL_CONFIG , PLL_EXT_CONFIG , RCC_FUN_ON );
160-
160+
161161 RCC_setClock (RCC_SYSCLKSOURCE_PLL );
162162#else /* !SYSCLK_USE_PLL */
163163#ifdef SYSCLK_SOURCE_USE_HXTL
@@ -297,7 +297,7 @@ void Device_disableAllPeripherals (void)
297297 RCC_HCLKEN1_DMAMUX1EN_M | RCC_HCLKEN1_SMPUEN_M | RCC_HCLKEN1_FMUEN_M );
298298
299299 RCC_disableAhb2PeripheralClock (RCC_HCLKEN2_CANFD2EN_M | RCC_HCLKEN2_CANFD1EN_M | RCC_HCLKEN2_CAN1EN_M |
300- RCC_HCLKEN2_LIN2EN_M | RCC_HCLKEN2_LIN1EN_M | RCC_HCLKEN2_BGCRC2EN_M |
300+ RCC_HCLKEN2_LIN2EN_M | RCC_HCLKEN2_LIN1EN_M | RCC_HCLKEN2_BGCRC2EN_M |
301301 RCC_HCLKEN2_BGCRC1EN_M | RCC_HCLKEN2_CRC2EN_M | RCC_HCLKEN2_CRC1EN_M |
302302 RCC_HCLKEN2_AESHASHEN_M |RCC_HCLKEN2_TRNGEN_M );
303303
0 commit comments