nuttx: fix typos in comments

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-05-13 14:32:18 +02:00 committed by Xiang Xiao
parent be9fc59b07
commit 0fee5a2b84
40 changed files with 55 additions and 47 deletions

View File

@ -111,7 +111,7 @@ extern uint32_t _vectors[];
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -99,7 +99,7 @@ const uintptr_t g_idle_topstack = HEAP_BASE;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -97,7 +97,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -126,7 +126,7 @@ static inline void imxrt_tcmenable(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -93,7 +93,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -87,7 +87,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -127,7 +127,7 @@ extern uint32_t _svect;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -97,7 +97,7 @@ void __start(void) noinstrument_function;
#endif
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -158,7 +158,7 @@ static inline void lpc43_enabuffering(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -85,7 +85,7 @@ static const struct pll_setup_s g_initial_pll_setup =
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -85,7 +85,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -76,7 +76,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -84,7 +84,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -83,7 +83,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: c_start
*
* Description:
* This is the reset entry point.

View File

@ -72,7 +72,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -175,7 +175,7 @@ static inline void s32k1xx_mpu_config(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -100,7 +100,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -84,7 +84,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -106,7 +106,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -95,10 +95,10 @@
#define CLK_DIVA_SHIFT (0) /* Bits: 0-7 CLKA Divide Factor */
#define CLK_DIVA_MASK (0xff << CLK_DIVA_SHIFT)
# define CLK_DIVA_SEL(n) ((uint32_t)(n) << CLK_DIVA_SHIFT)
# define CLK_DIVA_CLKA_POFF (0 << CLK_DIVA_SHIFT) /* CLKA clock is trned off */
# define CLK_DIVA_CLKA_POFF (0 << CLK_DIVA_SHIFT) /* CLKA clock is turned off */
# define CLK_DIVA_PREA (1 << CLK_DIVA_SHIFT) /* CLKA clock is selected by PREA */
#define CLK_PREA_SHIFT (8) /* Bits: 8-11 CLKA Souce Clock Selection */
#define CLK_PREA_SHIFT (8) /* Bits: 8-11 CLKA Source Clock Selection */
#define CLK_PREA_MASK (0x7 << CLK_PREA_SHIFT)
# define CLK_PREA_SEL(n) ((uint32_t)(n) << CLK_PREA_SHIFT)
# define CLK_PREA_CLK (0 << CLK_PREA_SHIFT) /* Peripheral Clock */
@ -116,10 +116,10 @@
#define CLK_DIVB_SHIFT (16) /* Bits: 16-23 CLKB Divide Factor */
#define CLK_DIVB_MASK (0xff << CLK_DIVB_SHIFT)
# define CLK_DIVB_SEL(n) ((uint32_t)(n) << CLK_DIVB_SHIFT)
# define CLK_DIVB_CLKB_POFF (0 << CLK_DIVB_SHIFT) /* CLKB clock is trned off */
# define CLK_DIVB_CLKB_POFF (0 << CLK_DIVB_SHIFT) /* CLKB clock is turned off */
# define CLK_DIVB_PREB (1 << CLK_DIVB_SHIFT) /* CLKB clock is selected by PREB */
#define CLK_PREB_SHIFT (24) /* Bits: 24-27 CLKA Souce Clock Selection */
#define CLK_PREB_SHIFT (24) /* Bits: 24-27 CLKA Source Clock Selection */
#define CLK_PREB_MASK (0x7 << CLK_PREB_SHIFT)
# define CLK_PREB_CLK (0 << CLK_PREB_SHIFT) /* Peripheral Clock */
# define CLK_PREB_CLK_DIV2 (1 << CLK_PREB_SHIFT) /* Peripheral Clock/2 */
@ -267,7 +267,7 @@
/* Event Line Mode Register */
#define ELMR_CSEL_SHIFT (0) /* Bits: 0-7 Comparision Selecrion */
#define ELMR_CSEL_SHIFT (0) /* Bits: 0-7 Comparison Selection */
#define ELMR_CSEL_MASK (0xff << ELMR_CSEL_SHIFT)
# define ELMR_CSEL_SEL(n) ((uint32_t)(n) << ELMR_CSEL_SHIFT)
@ -382,7 +382,7 @@
#define CMR_UPDS (1 << 11) /* Bit 11: Update Selection */
#define CMR_DPOLI (1 << 12) /* Bit 12: Disable Polarity Inverted */
#define CMR_TCTS (1 << 13) /* Bit 13: Timer Counter Trigger Selection */
#define CMR_DTE (1 << 16) /* Bit 16: Dead Time Generaton Enable */
#define CMR_DTE (1 << 16) /* Bit 16: Dead Time Generation Enable */
#define CMR_DTHI (1 << 17) /* Bit 17: Dead Time PWMH output Inverted */
#define CMR_DTLI (1 << 18) /* Bit 18: Dead Time PWML output Inverted */
#define CMR_PPM (1 << 19) /* Bit 19: Push Pull Mode */

View File

@ -377,7 +377,7 @@
#endif
#define UART_THR_TXCHR_SHIFT (0) /* Bits 0-8: Character to be Transmitted (USART only) */
#define UART_THR_TXCHR_MASK (0x1ff << UART_THR_TXCHR_SHIFT)
#define UART_THR_TXSYNH (1 << 15) /* Bit 15: Sync Field to be tran (USART only) */
#define UART_THR_TXSYNH (1 << 15) /* Bit 15: Sync Field to be Transmitted (USART only) */
/* UART Baud Rate Generator Register */

View File

@ -142,7 +142,7 @@ static inline void sam_tcmenable(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -100,7 +100,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -71,7 +71,7 @@ const uintptr_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -144,7 +144,7 @@ static inline void stm32_tcmenable(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -163,7 +163,7 @@ static inline void stm32_tcmenable(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -108,7 +108,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -110,7 +110,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -110,7 +110,7 @@ void __start(void) noinstrument_function;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -101,7 +101,7 @@ void cc13xx_trim_device(void);
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -92,7 +92,7 @@ const uintptr_t g_idle_topstack = HEAP_BASE;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -67,6 +67,14 @@ const uintptr_t g_idle_topstack = (uintptr_t)(&_ebss) +
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: ____tc32_start
*
* Description:
* This is the reset entry point.
*
****************************************************************************/
void __tc32_start(void)
{
tlsr82_cpu_wakeup_init(LDO_MODE, EXTERNAL_XTAL_24M);

View File

@ -156,7 +156,7 @@ static inline void xmc4_flash_waitstates(void)
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -73,7 +73,7 @@ const uint32_t g_idle_topstack = IDLE_STACK;
****************************************************************************/
/****************************************************************************
* Name: _start
* Name: __start
*
* Description:
* This is the reset entry point.

View File

@ -64,7 +64,7 @@ uintptr_t g_idle_topstack = FE310_IDLESTACK_TOP;
****************************************************************************/
/****************************************************************************
* Name: fe310_start
* Name: __fe310_start
****************************************************************************/
void __fe310_start(void)

View File

@ -59,7 +59,7 @@ uintptr_t g_idle_topstack = K210_IDLESTACK0_TOP;
****************************************************************************/
/****************************************************************************
* Name: k210_start
* Name: __k210_start
****************************************************************************/
void __k210_start(uint32_t mhartid)

View File

@ -64,7 +64,7 @@ uintptr_t g_idle_topstack = LITEX_IDLESTACK_TOP;
****************************************************************************/
/****************************************************************************
* Name: litex_start
* Name: __litex_start
****************************************************************************/
void __litex_start(void)

View File

@ -298,7 +298,7 @@ static const struct can_ops_s g_mcp2515ops =
mcp2515_remoterequest, /* co_remoterequest */
mcp2515_send, /* co_send */
mcp2515_txready, /* co_txready */
mcp2515_txempty, /* co_txempty */
mcp2515_txempty /* co_txempty */
};
/****************************************************************************