fix spelling

This commit is contained in:
hathach
2023-03-17 17:27:34 +07:00
parent f14b4ba30a
commit 25d802532c
23 changed files with 33 additions and 29 deletions

View File

@@ -954,11 +954,11 @@ typedef struct { /*!< (@ 0x50030A00) LRA Structur
__IOM uint32_t LRA_FLT_COEF3_REG; /*!< (@ 0x00000034) LRA Filter Coefficient Register */
__IOM uint32_t LRA_BRD_LS_REG; /*!< (@ 0x00000038) LRA Bridge Register */
__IOM uint32_t LRA_BRD_HS_REG; /*!< (@ 0x0000003C) LRA Bridge Register */
__IOM uint32_t LRA_BRD_STAT_REG; /*!< (@ 0x00000040) LRA Bridge Staus Register */
__IOM uint32_t LRA_BRD_STAT_REG; /*!< (@ 0x00000040) LRA Bridge Status Register */
__IOM uint32_t LRA_ADC_CTRL1_REG; /*!< (@ 0x00000044) General Purpose ADC Control Register */
__IM uint32_t RESERVED[2];
__IOM uint32_t LRA_ADC_RESULT_REG; /*!< (@ 0x00000050) General Purpose ADC Result Register */
__IOM uint32_t LRA_LDO_REG; /*!< (@ 0x00000054) LRA LDO Regsiter */
__IOM uint32_t LRA_LDO_REG; /*!< (@ 0x00000054) LRA LDO Register */
__IOM uint32_t LRA_DFT_REG; /*!< (@ 0x00000058) LRA test Register */
} LRA_Type; /*!< Size = 92 (0x5c) */
@@ -1043,7 +1043,7 @@ typedef struct { /*!< (@ 0x50000200) PDC Structur
__IOM uint32_t PDC_CTRL15_REG; /*!< (@ 0x0000003C) PDC control register */
__IM uint32_t RESERVED[16];
__IOM uint32_t PDC_ACKNOWLEDGE_REG; /*!< (@ 0x00000080) Clear a pending PDC bit */
__IOM uint32_t PDC_PENDING_REG; /*!< (@ 0x00000084) Shows any pending wakup event */
__IOM uint32_t PDC_PENDING_REG; /*!< (@ 0x00000084) Shows any pending wakeup event */
__IOM uint32_t PDC_PENDING_SNC_REG; /*!< (@ 0x00000088) Shows any pending IRQ to SNC */
__IOM uint32_t PDC_PENDING_CM33_REG; /*!< (@ 0x0000008C) Shows any pending IRQ to CM33 */
__IOM uint32_t PDC_PENDING_CMAC_REG; /*!< (@ 0x00000090) Shows any pending IRQ to CM33 */
@@ -1752,8 +1752,8 @@ typedef struct { /*!< (@ 0x50000100) WAKEUP Struc
__IOM uint32_t WKUP_SELECT_P1_REG; /*!< (@ 0x00000018) select which inputs from P1 port can trigger
wkup counter */
__IM uint32_t RESERVED2[3];
__IOM uint32_t WKUP_POL_P0_REG; /*!< (@ 0x00000028) select the sesitivity polarity for each P0 input */
__IOM uint32_t WKUP_POL_P1_REG; /*!< (@ 0x0000002C) select the sesitivity polarity for each P1 input */
__IOM uint32_t WKUP_POL_P0_REG; /*!< (@ 0x00000028) select the sensitivity polarity for each P0 input */
__IOM uint32_t WKUP_POL_P1_REG; /*!< (@ 0x0000002C) select the sensitivity polarity for each P1 input */
__IM uint32_t RESERVED3[3];
__IOM uint32_t WKUP_STATUS_P0_REG; /*!< (@ 0x0000003C) Event status register for P0 */
__IOM uint32_t WKUP_STATUS_P1_REG; /*!< (@ 0x00000040) Event status register for P1 */

View File

@@ -34,7 +34,7 @@ SystemInit(void)
__ISB();
#endif
/* Freez watchdog */
/* Freeze watchdog */
GPREG->SET_FREEZE_REG |= GPREG_SET_FREEZE_REG_FRZ_SYS_WDOG_Msk;
/* Initialize power domains (disable radio only) */
CRG_TOP->PMU_CTRL_REG = CRG_TOP_PMU_CTRL_REG_RADIO_SLEEP_Msk;

View File

@@ -286,7 +286,7 @@ typedef struct
/**@brief L2CAP event structure. */
typedef struct
{
uint16_t conn_handle; /**< Connection Handle on which the event occured. */
uint16_t conn_handle; /**< Connection Handle on which the event occurred. */
uint16_t local_cid; /**< Local Channel ID of the L2CAP channel, or
@ref BLE_L2CAP_CID_INVALID if not present. */
union

View File

@@ -46,7 +46,7 @@ import xmodem
import_serial_module = True
# When SDK release, plase set SDK_RELEASE as True.
# When SDK release, please set SDK_RELEASE as True.
SDK_RELEASE = False
if SDK_RELEASE :
@@ -508,7 +508,7 @@ def main():
do_wait_reset = True
if ConfigArgs.AUTO_RESET:
if subprocess.call("cd " + sys.path[0] + "; ./reset_board.sh", shell=True) == 0:
print("auto reset board sucess!!")
print("auto reset board success!!")
do_wait_reset = False
bootrom_msg = writer.cancel_autoboot()
@@ -536,7 +536,7 @@ def main():
# Remove files
if ConfigArgs.ERASE_NAME :
print(">>> Remove exisiting files ...")
print(">>> Remove existing files ...")
writer.delete_files(ConfigArgs.ERASE_NAME)
# Install files

View File

@@ -147,7 +147,7 @@ class XMODEM(object):
>>> modem = XMODEM(getc, putc)
:param getc: Function to retreive bytes from a stream
:param getc: Function to retrieve bytes from a stream
:type getc: callable
:param putc: Function to transmit bytes to a stream
:type putc: callable
@@ -215,7 +215,7 @@ class XMODEM(object):
>>> print modem.send(stream)
True
Returns ``True`` upon succesful transmission or ``False`` in case of
Returns ``True`` upon successful transmission or ``False`` in case of
failure.
:param stream: The stream object to send data from.