diff --git a/AT32F415_periph_lib_V2.1.0.chm b/AT32F415_periph_lib_V2.1.1.chm similarity index 63% rename from AT32F415_periph_lib_V2.1.0.chm rename to AT32F415_periph_lib_V2.1.1.chm index 89f7e7f..a8f0eb0 100644 Binary files a/AT32F415_periph_lib_V2.1.0.chm and b/AT32F415_periph_lib_V2.1.1.chm differ diff --git a/document/AT32F415固件库BSP&Pack应用指南.pdf b/document/AT32F415固件库BSP&Pack应用指南.pdf index 043b1f7..f434639 100644 Binary files a/document/AT32F415固件库BSP&Pack应用指南.pdf and b/document/AT32F415固件库BSP&Pack应用指南.pdf differ diff --git a/document/ReleaseNotes_AT32F415_Firmware_Library.pdf b/document/ReleaseNotes_AT32F415_Firmware_Library.pdf index 163c02a..1ed42fe 100644 Binary files a/document/ReleaseNotes_AT32F415_Firmware_Library.pdf and b/document/ReleaseNotes_AT32F415_Firmware_Library.pdf differ diff --git a/libraries/cmsis/cm4/device_support/at32f415.h b/libraries/cmsis/cm4/device_support/at32f415.h index 78b70ef..9b9cb22 100644 --- a/libraries/cmsis/cm4/device_support/at32f415.h +++ b/libraries/cmsis/cm4/device_support/at32f415.h @@ -128,7 +128,7 @@ extern "C" { */ #define __AT32F415_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */ #define __AT32F415_LIBRARY_VERSION_MIDDLE (0x01) /*!< [23:16] middle version */ -#define __AT32F415_LIBRARY_VERSION_MINOR (0x00) /*!< [15:8] minor version */ +#define __AT32F415_LIBRARY_VERSION_MINOR (0x01) /*!< [15:8] minor version */ #define __AT32F415_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __AT32F415_LIBRARY_VERSION ((__AT32F415_LIBRARY_VERSION_MAJOR << 24) | \ (__AT32F415_LIBRARY_VERSION_MIDDLE << 16) | \ diff --git a/libraries/cmsis/cm4/device_support/at32f415_conf_template.h b/libraries/cmsis/cm4/device_support/at32f415_conf_template.h index 16b4123..20a15d5 100644 --- a/libraries/cmsis/cm4/device_support/at32f415_conf_template.h +++ b/libraries/cmsis/cm4/device_support/at32f415_conf_template.h @@ -32,22 +32,22 @@ extern "C" { /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/libraries/cmsis/cm4/device_support/system_at32f415.h b/libraries/cmsis/cm4/device_support/system_at32f415.h index c007151..a5caa6c 100644 --- a/libraries/cmsis/cm4/device_support/system_at32f415.h +++ b/libraries/cmsis/cm4/device_support/system_at32f415.h @@ -44,6 +44,10 @@ extern "C" { #define HEXT_STABLE_DELAY (5000u) #define PLL_STABLE_DELAY (500u) #define SystemCoreClock system_core_clock +#define DUMMY_NOP() {__NOP();__NOP();__NOP();__NOP();__NOP(); \ + __NOP();__NOP();__NOP();__NOP();__NOP(); \ + __NOP();__NOP();__NOP();__NOP();__NOP(); \ + __NOP();__NOP();__NOP();__NOP();__NOP();} /** * @} diff --git a/libraries/drivers/ReleaseNotes_AT32F415_Firmware_Library_Drivers.pdf b/libraries/drivers/ReleaseNotes_AT32F415_Firmware_Library_Drivers.pdf index 2b3fb06..792237f 100644 Binary files a/libraries/drivers/ReleaseNotes_AT32F415_Firmware_Library_Drivers.pdf and b/libraries/drivers/ReleaseNotes_AT32F415_Firmware_Library_Drivers.pdf differ diff --git a/libraries/drivers/inc/at32f415_adc.h b/libraries/drivers/inc/at32f415_adc.h index bfd04b6..984bafd 100644 --- a/libraries/drivers/inc/at32f415_adc.h +++ b/libraries/drivers/inc/at32f415_adc.h @@ -569,6 +569,7 @@ flag_status adc_preempt_software_trigger_status_get(adc_type *adc_x); uint16_t adc_ordinary_conversion_data_get(adc_type *adc_x); uint16_t adc_preempt_conversion_data_get(adc_type *adc_x, adc_preempt_channel_type adc_preempt_channel); flag_status adc_flag_get(adc_type *adc_x, uint8_t adc_flag); +flag_status adc_interrupt_flag_get(adc_type *adc_x, uint8_t adc_flag); void adc_flag_clear(adc_type *adc_x, uint32_t adc_flag); /** diff --git a/libraries/drivers/inc/at32f415_can.h b/libraries/drivers/inc/at32f415_can.h index 45feffd..82de7fc 100644 --- a/libraries/drivers/inc/at32f415_can.h +++ b/libraries/drivers/inc/at32f415_can.h @@ -961,6 +961,7 @@ can_error_record_type can_error_type_record_get(can_type* can_x); uint8_t can_receive_error_counter_get(can_type* can_x); uint8_t can_transmit_error_counter_get(can_type* can_x); void can_interrupt_enable(can_type* can_x, uint32_t can_int, confirm_state new_state); +flag_status can_interrupt_flag_get(can_type* can_x, uint32_t can_flag); flag_status can_flag_get(can_type* can_x, uint32_t can_flag); void can_flag_clear(can_type* can_x, uint32_t can_flag); diff --git a/libraries/drivers/inc/at32f415_crm.h b/libraries/drivers/inc/at32f415_crm.h index 637bafc..f8bcc4b 100644 --- a/libraries/drivers/inc/at32f415_crm.h +++ b/libraries/drivers/inc/at32f415_crm.h @@ -864,6 +864,7 @@ void crm_reset(void); void crm_lext_bypass(confirm_state new_state); void crm_hext_bypass(confirm_state new_state); flag_status crm_flag_get(uint32_t flag); +flag_status crm_interrupt_flag_get(uint32_t flag); error_status crm_hext_stable_wait(void); void crm_hick_clock_trimming_set(uint8_t trim_value); void crm_hick_clock_calibration_set(uint8_t cali_value); diff --git a/libraries/drivers/inc/at32f415_ertc.h b/libraries/drivers/inc/at32f415_ertc.h index 0099f25..8d5baf3 100644 --- a/libraries/drivers/inc/at32f415_ertc.h +++ b/libraries/drivers/inc/at32f415_ertc.h @@ -1176,6 +1176,7 @@ void ertc_tamper_enable(ertc_tamper_select_type tamper_x, confirm_state new_stat void ertc_interrupt_enable(uint32_t source, confirm_state new_state); flag_status ertc_interrupt_get(uint32_t source); flag_status ertc_flag_get(uint32_t flag); +flag_status ertc_interrupt_flag_get(uint32_t flag); void ertc_flag_clear(uint32_t flag); void ertc_bpr_data_write(ertc_dt_type dt, uint32_t data); uint32_t ertc_bpr_data_read(ertc_dt_type dt); diff --git a/libraries/drivers/inc/at32f415_exint.h b/libraries/drivers/inc/at32f415_exint.h index 04cf2b0..adcbe52 100644 --- a/libraries/drivers/inc/at32f415_exint.h +++ b/libraries/drivers/inc/at32f415_exint.h @@ -209,6 +209,7 @@ void exint_default_para_init(exint_init_type *exint_struct); void exint_init(exint_init_type *exint_struct); void exint_flag_clear(uint32_t exint_line); flag_status exint_flag_get(uint32_t exint_line); +flag_status exint_interrupt_flag_get(uint32_t exint_line); void exint_software_interrupt_event_generate(uint32_t exint_line); void exint_interrupt_enable(uint32_t exint_line, confirm_state new_state); void exint_event_enable(uint32_t exint_line, confirm_state new_state); diff --git a/libraries/drivers/inc/at32f415_i2c.h b/libraries/drivers/inc/at32f415_i2c.h index 5ee4b63..f82bcc1 100644 --- a/libraries/drivers/inc/at32f415_i2c.h +++ b/libraries/drivers/inc/at32f415_i2c.h @@ -378,6 +378,7 @@ void i2c_7bit_address_send(i2c_type *i2c_x, uint8_t address, i2c_direction_type void i2c_data_send(i2c_type *i2c_x, uint8_t data); uint8_t i2c_data_receive(i2c_type *i2c_x); flag_status i2c_flag_get(i2c_type *i2c_x, uint32_t flag); +flag_status i2c_interrupt_flag_get(i2c_type *i2c_x, uint32_t flag); void i2c_flag_clear(i2c_type *i2c_x, uint32_t flag); /** diff --git a/libraries/drivers/inc/at32f415_pwc.h b/libraries/drivers/inc/at32f415_pwc.h index 1756320..8c5bf07 100644 --- a/libraries/drivers/inc/at32f415_pwc.h +++ b/libraries/drivers/inc/at32f415_pwc.h @@ -58,7 +58,7 @@ extern "C" { /** * @brief pwc wakeup pin num definition */ -#define PWC_WAKEUP_PIN_1 ((uint32_t)0x00000100) /*!< standby wake-up pin1 */ +#define PWC_WAKEUP_PIN_1 ((uint32_t)0x00000100) /*!< standby wake-up pin1(pa0) */ /** @defgroup PWC_exported_types * @{ diff --git a/libraries/drivers/inc/at32f415_sdio.h b/libraries/drivers/inc/at32f415_sdio.h index ce9fd45..702ea1f 100644 --- a/libraries/drivers/inc/at32f415_sdio.h +++ b/libraries/drivers/inc/at32f415_sdio.h @@ -585,6 +585,7 @@ void sdio_clock_enable(sdio_type *sdio_x, confirm_state new_state); void sdio_dma_enable(sdio_type *sdio_x, confirm_state new_state); void sdio_interrupt_enable(sdio_type *sdio_x, uint32_t int_opt, confirm_state new_state); flag_status sdio_flag_get(sdio_type *sdio_x, uint32_t flag); +flag_status sdio_interrupt_flag_get(sdio_type *sdio_x, uint32_t flag); void sdio_flag_clear(sdio_type *sdio_x, uint32_t flag); void sdio_command_config(sdio_type *sdio_x, sdio_command_struct_type *command_struct); void sdio_command_state_machine_enable(sdio_type *sdio_x, confirm_state new_state); diff --git a/libraries/drivers/inc/at32f415_spi.h b/libraries/drivers/inc/at32f415_spi.h index fd2b936..fd909a1 100644 --- a/libraries/drivers/inc/at32f415_spi.h +++ b/libraries/drivers/inc/at32f415_spi.h @@ -472,6 +472,7 @@ void spi_i2s_dma_receiver_enable(spi_type* spi_x, confirm_state new_state); void spi_i2s_data_transmit(spi_type* spi_x, uint16_t tx_data); uint16_t spi_i2s_data_receive(spi_type* spi_x); flag_status spi_i2s_flag_get(spi_type* spi_x, uint32_t spi_i2s_flag); +flag_status spi_i2s_interrupt_flag_get(spi_type* spi_x, uint32_t spi_i2s_flag); void spi_i2s_flag_clear(spi_type* spi_x, uint32_t spi_i2s_flag); /** diff --git a/libraries/drivers/inc/at32f415_tmr.h b/libraries/drivers/inc/at32f415_tmr.h index 4df297c..b2568bf 100644 --- a/libraries/drivers/inc/at32f415_tmr.h +++ b/libraries/drivers/inc/at32f415_tmr.h @@ -902,6 +902,7 @@ void tmr_trigger_input_select(tmr_type *tmr_x, sub_tmr_input_sel_type trigger_se void tmr_sub_sync_mode_set(tmr_type *tmr_x, confirm_state new_state); void tmr_dma_request_enable(tmr_type *tmr_x, tmr_dma_request_type dma_request, confirm_state new_state); void tmr_interrupt_enable(tmr_type *tmr_x, uint32_t tmr_interrupt, confirm_state new_state); +flag_status tmr_interrupt_flag_get(tmr_type *tmr_x, uint32_t tmr_flag); flag_status tmr_flag_get(tmr_type *tmr_x, uint32_t tmr_flag); void tmr_flag_clear(tmr_type *tmr_x, uint32_t tmr_flag); void tmr_event_sw_trigger(tmr_type *tmr_x, tmr_event_trigger_type tmr_event); diff --git a/libraries/drivers/inc/at32f415_usart.h b/libraries/drivers/inc/at32f415_usart.h index ee960de..a8c240b 100644 --- a/libraries/drivers/inc/at32f415_usart.h +++ b/libraries/drivers/inc/at32f415_usart.h @@ -356,6 +356,7 @@ void usart_irda_mode_enable(usart_type* usart_x, confirm_state new_state); void usart_irda_low_power_enable(usart_type* usart_x, confirm_state new_state); void usart_hardware_flow_control_set(usart_type* usart_x,usart_hardware_flow_control_type flow_state); flag_status usart_flag_get(usart_type* usart_x, uint32_t flag); +flag_status usart_interrupt_flag_get(usart_type* usart_x, uint32_t flag); void usart_flag_clear(usart_type* usart_x, uint32_t flag); /** diff --git a/libraries/drivers/inc/at32f415_wwdt.h b/libraries/drivers/inc/at32f415_wwdt.h index 03d42d9..6deebd6 100644 --- a/libraries/drivers/inc/at32f415_wwdt.h +++ b/libraries/drivers/inc/at32f415_wwdt.h @@ -134,6 +134,7 @@ void wwdt_flag_clear(void); void wwdt_enable(uint8_t wwdt_cnt); void wwdt_interrupt_enable(void); flag_status wwdt_flag_get(void); +flag_status wwdt_interrupt_flag_get(void); void wwdt_counter_set(uint8_t wwdt_cnt); void wwdt_window_counter_set(uint8_t window_cnt); diff --git a/libraries/drivers/src/at32f415_adc.c b/libraries/drivers/src/at32f415_adc.c index a57cffe..7a703e5 100644 --- a/libraries/drivers/src/at32f415_adc.c +++ b/libraries/drivers/src/at32f415_adc.c @@ -745,6 +745,47 @@ flag_status adc_flag_get(adc_type *adc_x, uint8_t adc_flag) return status; } +/** + * @brief get interrupt flag of the specified adc peripheral. + * @param adc_x: select the adc peripheral. + * this parameter can be one of the following values: + * ADC1. + * @param adc_flag: select the adc flag. + * this parameter can be one of the following values: + * - ADC_VMOR_FLAG + * - ADC_CCE_FLAG + * - ADC_PCCE_FLAG + * @retval the new state of adc flag status(SET or RESET). + */ +flag_status adc_interrupt_flag_get(adc_type *adc_x, uint8_t adc_flag) +{ + flag_status status = RESET; + switch(adc_flag) + { + case ADC_VMOR_FLAG: + if(adc_x->sts_bit.vmor && adc_x->ctrl1_bit.vmorien) + { + status = SET; + } + break; + case ADC_CCE_FLAG: + if(adc_x->sts_bit.cce && adc_x->ctrl1_bit.cceien) + { + status = SET; + } + break; + case ADC_PCCE_FLAG: + if(adc_x->sts_bit.pcce && adc_x->ctrl1_bit.pcceien) + { + status = SET; + } + break; + default: + break; + } + return status; +} + /** * @brief clear flag of the specified adc peripheral. * @param adc_x: select the adc peripheral. diff --git a/libraries/drivers/src/at32f415_can.c b/libraries/drivers/src/at32f415_can.c index 3dd590f..c89e719 100644 --- a/libraries/drivers/src/at32f415_can.c +++ b/libraries/drivers/src/at32f415_can.c @@ -923,6 +923,102 @@ void can_interrupt_enable(can_type* can_x, uint32_t can_int, confirm_state new_s } } +/** + * @brief get interrupt flag of the specified can peripheral. + * @param can_x: select the can peripheral. + * this parameter can be one of the following values: + * CAN1. + * @param can_flag: select the flag. + * this parameter can be one of the following flags: + * - CAN_EAF_FLAG + * - CAN_EPF_FLAG + * - CAN_BOF_FLAG + * - CAN_ETR_FLAG + * - CAN_EOIF_FLAG + * - CAN_TM0TCF_FLAG + * - CAN_TM1TCF_FLAG + * - CAN_TM2TCF_FLAG + * - CAN_RF0MN_FLAG + * - CAN_RF0FF_FLAG + * - CAN_RF0OF_FLAG + * - CAN_RF1MN_FLAG + * - CAN_RF1FF_FLAG + * - CAN_RF1OF_FLAG + * - CAN_QDZIF_FLAG + * - CAN_EDZC_FLAG + * - CAN_TMEF_FLAG + * note:the state of CAN_EDZC_FLAG need to check dzc and edzif bit + * note:the state of CAN_TMEF_FLAG need to check rqc0,rqc1 and rqc2 bit + * @retval status of can_flag, the returned value can be:SET or RESET. + */ +flag_status can_interrupt_flag_get(can_type* can_x, uint32_t can_flag) +{ + flag_status bit_status = RESET; + flag_status int_status = RESET; + + switch(can_flag) + { + case CAN_EAF_FLAG: + int_status = (flag_status)(can_x->inten_bit.eoien && can_x->inten_bit.eaien); + break; + case CAN_EPF_FLAG: + int_status = (flag_status)(can_x->inten_bit.eoien && can_x->inten_bit.epien); + break; + case CAN_BOF_FLAG: + int_status = (flag_status)(can_x->inten_bit.eoien && can_x->inten_bit.boien); + break; + case CAN_ETR_FLAG: + int_status = (flag_status)(can_x->inten_bit.eoien && can_x->inten_bit.etrien); + break; + case CAN_EOIF_FLAG: + int_status = (flag_status)can_x->inten_bit.eoien; + break; + case CAN_TM0TCF_FLAG: + case CAN_TM1TCF_FLAG: + case CAN_TM2TCF_FLAG: + int_status = (flag_status)can_x->inten_bit.tcien; + break; + case CAN_RF0MN_FLAG: + int_status = (flag_status)can_x->inten_bit.rf0mien; + break; + case CAN_RF0FF_FLAG: + int_status = (flag_status)can_x->inten_bit.rf0fien; + break; + case CAN_RF0OF_FLAG: + int_status = (flag_status)can_x->inten_bit.rf0oien; + break; + case CAN_RF1MN_FLAG: + int_status = (flag_status)can_x->inten_bit.rf1mien; + break; + case CAN_RF1FF_FLAG: + int_status = (flag_status)can_x->inten_bit.rf1fien; + break; + case CAN_RF1OF_FLAG: + int_status = (flag_status)can_x->inten_bit.rf1oien; + break; + case CAN_QDZIF_FLAG: + int_status = (flag_status)can_x->inten_bit.qdzien; + break; + case CAN_EDZC_FLAG: + int_status = (flag_status)can_x->inten_bit.edzien; + break; + case CAN_TMEF_FLAG: + int_status = (flag_status)can_x->inten_bit.tcien; + break; + default: + int_status = RESET; + break; + } + + if(int_status != SET) + { + return RESET; + } + bit_status = can_flag_get(can_x, can_flag); + + return bit_status; +} + /** * @brief get flag of the specified can peripheral. * @param can_x: select the can peripheral. diff --git a/libraries/drivers/src/at32f415_crm.c b/libraries/drivers/src/at32f415_crm.c index c08fe48..178cb3b 100644 --- a/libraries/drivers/src/at32f415_crm.c +++ b/libraries/drivers/src/at32f415_crm.c @@ -134,6 +134,64 @@ flag_status crm_flag_get(uint32_t flag) return status; } +/** + * @brief get crm interrupt flag status + * @param flag + * this parameter can be one of the following values: + * - CRM_LICK_READY_INT_FLAG + * - CRM_LEXT_READY_INT_FLAG + * - CRM_HICK_READY_INT_FLAG + * - CRM_HEXT_READY_INT_FLAG + * - CRM_PLL_READY_INT_FLAG + * - CRM_CLOCK_FAILURE_INT_FLAG + * @retval flag_status (SET or RESET) + */ +flag_status crm_interrupt_flag_get(uint32_t flag) +{ + flag_status status = RESET; + switch(flag) + { + case CRM_LICK_READY_INT_FLAG: + if(CRM->clkint_bit.lickstblf && CRM->clkint_bit.lickstblien) + { + status = SET; + } + break; + case CRM_LEXT_READY_INT_FLAG: + if(CRM->clkint_bit.lextstblf && CRM->clkint_bit.lextstblien) + { + status = SET; + } + break; + case CRM_HICK_READY_INT_FLAG: + if(CRM->clkint_bit.hickstblf && CRM->clkint_bit.hickstblien) + { + status = SET; + } + break; + case CRM_HEXT_READY_INT_FLAG: + if(CRM->clkint_bit.hextstblf && CRM->clkint_bit.hextstblien) + { + status = SET; + } + break; + case CRM_PLL_READY_INT_FLAG: + if(CRM->clkint_bit.pllstblf && CRM->clkint_bit.pllstblien) + { + status = SET; + } + break; + case CRM_CLOCK_FAILURE_INT_FLAG: + if(CRM->clkint_bit.cfdf && CRM->ctrl_bit.cfden) + { + status = SET; + } + break; + } + + return status; +} + /** * @brief wait for hext stable * @param none @@ -646,6 +704,7 @@ void crm_pll_config2(crm_pll_clock_source_type clock_source, uint16_t pll_ns, \ void crm_sysclk_switch(crm_sclk_type value) { CRM->cfg_bit.sclksel = value; + DUMMY_NOP(); } /** diff --git a/libraries/drivers/src/at32f415_ertc.c b/libraries/drivers/src/at32f415_ertc.c index 72678a5..cb508e8 100644 --- a/libraries/drivers/src/at32f415_ertc.c +++ b/libraries/drivers/src/at32f415_ertc.c @@ -1426,6 +1426,53 @@ flag_status ertc_flag_get(uint32_t flag) } } +/** + * @brief get interrupt flag status. + * @param flag: specifies the flag to check. + * this parameter can be one of the following values: + * - ERTC_ALAF_FLAG: alarm clock a flag. + * - ERTC_ALBF_FLAG: alarm clock b flag. + * - ERTC_WATF_FLAG: wakeup timer flag. + * - ERTC_TSF_FLAG: timestamp flag. + * - ERTC_TP1F_FLAG: tamper detection 1 flag. + * @retval the new state of flag (SET or RESET). + */ +flag_status ertc_interrupt_flag_get(uint32_t flag) +{ + __IO uint32_t iten = 0; + + switch(flag) + { + case ERTC_ALAF_FLAG: + iten = ERTC->ctrl_bit.alaien; + break; + case ERTC_ALBF_FLAG: + iten = ERTC->ctrl_bit.albien; + break; + case ERTC_WATF_FLAG: + iten = ERTC->ctrl_bit.watien; + break; + case ERTC_TSF_FLAG: + iten = ERTC->ctrl_bit.tsien; + break; + case ERTC_TP1F_FLAG: + iten = ERTC->tamp_bit.tpien; + break; + + default: + break; + } + + if(((ERTC->sts & flag) != (uint32_t)RESET) && (iten)) + { + return SET; + } + else + { + return RESET; + } +} + /** * @brief clear flag status * @param flag: specifies the flag to clear. diff --git a/libraries/drivers/src/at32f415_exint.c b/libraries/drivers/src/at32f415_exint.c index dc7abe6..05df694 100644 --- a/libraries/drivers/src/at32f415_exint.c +++ b/libraries/drivers/src/at32f415_exint.c @@ -153,6 +153,33 @@ flag_status exint_flag_get(uint32_t exint_line) return status; } +/** + * @brief get exint interrupt flag + * @param exint_line + * this parameter can be one of the following values: + * - EXINT_LINE_0 + * - EXINT_LINE_1 + * ... + * - EXINT_LINE_21 + * - EXINT_LINE_22 + * @retval the new state of exint flag(SET or RESET). + */ +flag_status exint_interrupt_flag_get(uint32_t exint_line) +{ + flag_status status = RESET; + uint32_t exint_flag =0; + exint_flag = EXINT->intsts & exint_line & EXINT->inten; + if((exint_flag != (uint16_t)RESET)) + { + status = SET; + } + else + { + status = RESET; + } + return status; +} + /** * @brief generate exint software interrupt event * @param exint_line diff --git a/libraries/drivers/src/at32f415_i2c.c b/libraries/drivers/src/at32f415_i2c.c index 9b88863..8f3efb9 100644 --- a/libraries/drivers/src/at32f415_i2c.c +++ b/libraries/drivers/src/at32f415_i2c.c @@ -594,6 +594,85 @@ flag_status i2c_flag_get(i2c_type *i2c_x, uint32_t flag) } } +/** + * @brief get interrupt flag status + * @param i2c_x: to select the i2c peripheral. + * this parameter can be one of the following values: + * I2C1, I2C2. + * @param flag + * this parameter can be one of the following values: + * - I2C_STARTF_FLAG: start condition generation complete flag. + * - I2C_ADDR7F_FLAG: 0~7 bit address match flag. + * - I2C_TDC_FLAG: transmit data complete flag. + * - I2C_ADDRHF_FLAG: master 9~8 bit address header match flag. + * - I2C_STOPF_FLAG: stop condition generation complete flag. + * - I2C_RDBF_FLAG: receive data buffer full flag. + * - I2C_TDBE_FLAG: transmit data buffer empty flag. + * - I2C_BUSERR_FLAG: bus error flag. + * - I2C_ARLOST_FLAG: arbitration lost flag. + * - I2C_ACKFAIL_FLAG: acknowledge failure flag. + * - I2C_OUF_FLAG: overflow or underflow flag. + * - I2C_PECERR_FLAG: pec receive error flag. + * - I2C_TMOUT_FLAG: smbus timeout flag. + * - I2C_ALERTF_FLAG: smbus alert flag. + * @retval flag_status (SET or RESET) + */ +flag_status i2c_interrupt_flag_get(i2c_type *i2c_x, uint32_t flag) +{ + __IO uint32_t reg = 0, value = 0, iten = 0; + + switch(flag) + { + case I2C_STARTF_FLAG: + case I2C_ADDR7F_FLAG: + case I2C_TDC_FLAG: + case I2C_ADDRHF_FLAG: + case I2C_STOPF_FLAG: + iten = i2c_x->ctrl2_bit.evtien; + break; + case I2C_RDBF_FLAG: + case I2C_TDBE_FLAG: + iten = i2c_x->ctrl2_bit.dataien & i2c_x->ctrl2_bit.evtien; + break; + case I2C_BUSERR_FLAG: + case I2C_ARLOST_FLAG: + case I2C_ACKFAIL_FLAG: + case I2C_OUF_FLAG: + case I2C_PECERR_FLAG: + case I2C_TMOUT_FLAG: + case I2C_ALERTF_FLAG: + iten = i2c_x->ctrl2_bit.errien; + break; + + default: + break; + } + + reg = flag >> 28; + + flag &= (uint32_t)0x00FFFFFF; + + if(reg == 0) + { + value = i2c_x->sts1; + } + else + { + flag = (uint32_t)(flag >> 16); + + value = i2c_x->sts2; + } + + if(((value & flag) != (uint32_t)RESET) && (iten)) + { + return SET; + } + else + { + return RESET; + } +} + /** * @brief clear flag status * @param i2c_x: to select the i2c peripheral. diff --git a/libraries/drivers/src/at32f415_sdio.c b/libraries/drivers/src/at32f415_sdio.c index 8f09b65..efd87c8 100644 --- a/libraries/drivers/src/at32f415_sdio.c +++ b/libraries/drivers/src/at32f415_sdio.c @@ -241,6 +241,50 @@ void sdio_interrupt_enable(sdio_type *sdio_x, uint32_t int_opt, confirm_state n } } +/** + * @brief get sdio interrupt flag. + * @param sdio_x: to select the sdio peripheral. + * this parameter can be one of the following values: + * SDIO1. + * @param flag + * this parameter can be one of the following values: + * - SDIO_CMDFAIL_FLAG + * - SDIO_DTFAIL_FLAG + * - SDIO_CMDTIMEOUT_FLAG + * - SDIO_DTTIMEOUT_FLAG + * - SDIO_TXERRU_FLAG + * - SDIO_RXERRO_FLAG + * - SDIO_CMDRSPCMPL_FLAG + * - SDIO_CMDCMPL_FLAG + * - SDIO_DTCMPL_FLAG + * - SDIO_SBITERR_FLAG + * - SDIO_DTBLKCMPL_FLAG + * - SDIO_DOCMD_FLAG + * - SDIO_DOTX_FLAG + * - SDIO_DORX_FLAG + * - SDIO_TXBUFH_FLAG + * - SDIO_RXBUFH_FLAG + * - SDIO_TXBUFF_FLAG + * - SDIO_RXBUFF_FLAG + * - SDIO_TXBUFE_FLAG + * - SDIO_RXBUFE_FLAG + * - SDIO_TXBUF_FLAG + * - SDIO_RXBUF_FLAG + * - SDIO_SDIOIF_FLAG + * @retval flag_status (SET or RESET) + */ +flag_status sdio_interrupt_flag_get(sdio_type *sdio_x, uint32_t flag) +{ + flag_status status = RESET; + + if((sdio_x->inten & flag) && (sdio_x->sts & flag)) + { + status = SET; + } + + return status; +} + /** * @brief get sdio flag. * @param sdio_x: to select the sdio peripheral. diff --git a/libraries/drivers/src/at32f415_spi.c b/libraries/drivers/src/at32f415_spi.c index c3a43a4..8403f50 100644 --- a/libraries/drivers/src/at32f415_spi.c +++ b/libraries/drivers/src/at32f415_spi.c @@ -557,6 +557,69 @@ flag_status spi_i2s_flag_get(spi_type* spi_x, uint32_t spi_i2s_flag) return status; } +/** + * @brief get interrupt flag of the specified spi/i2s peripheral. + * @param spi_x: select the spi/i2s peripheral. + * this parameter can be one of the following values: + * SPI1, SPI2 + * @param spi_i2s_flag: select the spi/i2s flag + * this parameter can be one of the following values: + * - SPI_I2S_RDBF_FLAG + * - SPI_I2S_TDBE_FLAG + * - I2S_TUERR_FLAG (this flag only use in i2s mode) + * - SPI_CCERR_FLAG (this flag only use in spi mode) + * - SPI_MMERR_FLAG (this flag only use in spi mode) + * - SPI_I2S_ROERR_FLAG + * @retval the new state of spi/i2s flag + */ +flag_status spi_i2s_interrupt_flag_get(spi_type* spi_x, uint32_t spi_i2s_flag) +{ + flag_status status = RESET; + + switch(spi_i2s_flag) + { + case SPI_I2S_RDBF_FLAG: + if(spi_x->sts_bit.rdbf && spi_x->ctrl2_bit.rdbfie) + { + status = SET; + } + break; + case SPI_I2S_TDBE_FLAG: + if(spi_x->sts_bit.tdbe && spi_x->ctrl2_bit.tdbeie) + { + status = SET; + } + break; + case I2S_TUERR_FLAG: + if(spi_x->sts_bit.tuerr && spi_x->ctrl2_bit.errie) + { + status = SET; + } + break; + case SPI_CCERR_FLAG: + if(spi_x->sts_bit.ccerr && spi_x->ctrl2_bit.errie) + { + status = SET; + } + break; + case SPI_MMERR_FLAG: + if(spi_x->sts_bit.mmerr && spi_x->ctrl2_bit.errie) + { + status = SET; + } + break; + case SPI_I2S_ROERR_FLAG: + if(spi_x->sts_bit.roerr && spi_x->ctrl2_bit.errie) + { + status = SET; + } + break; + default: + break; + }; + return status; +} + /** * @brief clear flag of the specified spi/i2s peripheral. * @param spi_x: select the spi/i2s peripheral. diff --git a/libraries/drivers/src/at32f415_tmr.c b/libraries/drivers/src/at32f415_tmr.c index 3bd8e44..d72199b 100644 --- a/libraries/drivers/src/at32f415_tmr.c +++ b/libraries/drivers/src/at32f415_tmr.c @@ -1300,6 +1300,39 @@ void tmr_interrupt_enable(tmr_type *tmr_x, uint32_t tmr_interrupt, confirm_state } } +/** + * @brief get tmr interrupt flag + * @param tmr_x: select the tmr peripheral. + * this parameter can be one of the following values: + * TMR1, TMR2, TMR3, TMR4, TMR5, TMR9, TMR10, TMR11 + * @param tmr_flag + * this parameter can be one of the following values: + * - TMR_OVF_FLAG + * - TMR_C1_FLAG + * - TMR_C2_FLAG + * - TMR_C3_FLAG + * - TMR_C4_FLAG + * - TMR_HALL_FLAG + * - TMR_TRIGGER_FLAG + * - TMR_BRK_FLAG + * @retval state of tmr interrupt flag + */ +flag_status tmr_interrupt_flag_get(tmr_type *tmr_x, uint32_t tmr_flag) +{ + flag_status status = RESET; + + if((tmr_x->ists & tmr_flag) && (tmr_x->iden & tmr_flag)) + { + status = SET; + } + else + { + status = RESET; + } + + return status; +} + /** * @brief get tmr flag * @param tmr_x: select the tmr peripheral. diff --git a/libraries/drivers/src/at32f415_usart.c b/libraries/drivers/src/at32f415_usart.c index bffe9b4..04f8e7c 100644 --- a/libraries/drivers/src/at32f415_usart.c +++ b/libraries/drivers/src/at32f415_usart.c @@ -573,6 +573,79 @@ flag_status usart_flag_get(usart_type* usart_x, uint32_t flag) } } +/** + * @brief check whether the specified usart interrupt flag is set or not. + * @param usart_x: select the usart or the uart peripheral. + * this parameter can be one of the following values: + * USART1, USART2, USART3, UART4 or UART5. + * @param flag: specifies the flag to check. + * this parameter can be one of the following values: + * - USART_CTSCF_FLAG: cts change flag (not available for UART4,UART5) + * - USART_BFF_FLAG: break frame flag + * - USART_TDBE_FLAG: transmit data buffer empty flag + * - USART_TDC_FLAG: transmit data complete flag + * - USART_RDBF_FLAG: receive data buffer full flag + * - USART_IDLEF_FLAG: idle flag + * - USART_ROERR_FLAG: receiver overflow error flag + * - USART_NERR_FLAG: noise error flag + * - USART_FERR_FLAG: framing error flag + * - USART_PERR_FLAG: parity error flag + * @retval the new state of usart_flag (SET or RESET). + */ +flag_status usart_interrupt_flag_get(usart_type* usart_x, uint32_t flag) +{ + flag_status int_status = RESET; + + switch(flag) + { + case USART_CTSCF_FLAG: + int_status = (flag_status)usart_x->ctrl3_bit.ctscfien; + break; + case USART_BFF_FLAG: + int_status = (flag_status)usart_x->ctrl2_bit.bfien; + break; + case USART_TDBE_FLAG: + int_status = (flag_status)usart_x->ctrl1_bit.tdbeien; + break; + case USART_TDC_FLAG: + int_status = (flag_status)usart_x->ctrl1_bit.tdcien; + break; + case USART_RDBF_FLAG: + int_status = (flag_status)usart_x->ctrl1_bit.rdbfien; + break; + case USART_ROERR_FLAG: + int_status = (flag_status)(usart_x->ctrl1_bit.rdbfien || usart_x->ctrl3_bit.errien); + break; + case USART_IDLEF_FLAG: + int_status = (flag_status)usart_x->ctrl1_bit.idleien; + break; + case USART_NERR_FLAG: + case USART_FERR_FLAG: + int_status = (flag_status)usart_x->ctrl3_bit.errien; + break; + case USART_PERR_FLAG: + int_status = (flag_status)usart_x->ctrl1_bit.perrien; + break; + default: + int_status = RESET; + break; + } + + if(int_status != SET) + { + return RESET; + } + + if(usart_x->sts & flag) + { + return SET; + } + else + { + return RESET; + } +} + /** * @brief clear the usart's pending flags. * @param usart_x: select the usart or the uart peripheral. diff --git a/libraries/drivers/src/at32f415_wwdt.c b/libraries/drivers/src/at32f415_wwdt.c index 49ae5a7..4e61805 100644 --- a/libraries/drivers/src/at32f415_wwdt.c +++ b/libraries/drivers/src/at32f415_wwdt.c @@ -104,6 +104,16 @@ flag_status wwdt_flag_get(void) return (flag_status)WWDT->sts_bit.rldf; } +/** + * @brief wwdt reload counter interrupt flag get + * @param none + * @retval state of reload counter interrupt flag + */ +flag_status wwdt_interrupt_flag_get(void) +{ + return (flag_status)(WWDT->sts_bit.rldf && WWDT->cfg_bit.rldien); +} + /** * @brief wwdt counter value set * @param wwdt_cnt (0x40~0x7f) diff --git a/middlewares/usb_drivers/src/usbd_core.c b/middlewares/usb_drivers/src/usbd_core.c index 059f345..84a789c 100644 --- a/middlewares/usb_drivers/src/usbd_core.c +++ b/middlewares/usb_drivers/src/usbd_core.c @@ -487,15 +487,6 @@ void usbd_ept_send(usbd_core_type *udev, uint8_t ept_addr, uint8_t *buffer, uint } } - if(ept_info->trans_type != EPT_ISO_TYPE) - { - if(ept_info->total_len > 0) - { - /* set in endpoint tx fifo empty interrupt mask */ - dev->diepempmsk |= 1 << ept_info->eptn; - } - } - if(ept_info->trans_type == EPT_ISO_TYPE) { if((dev->dsts_bit.soffn & 0x1) == 0) @@ -514,7 +505,15 @@ void usbd_ept_send(usbd_core_type *udev, uint8_t ept_addr, uint8_t *buffer, uint /* endpoint enable */ ept_in->diepctl_bit.eptena = TRUE; - if(ept_info->trans_type == EPT_ISO_TYPE) + if(ept_info->trans_type != EPT_ISO_TYPE) + { + if(ept_info->total_len > 0) + { + /* set in endpoint tx fifo empty interrupt mask */ + dev->diepempmsk |= 1 << ept_info->eptn; + } + } + else { /* write data to fifo */ usb_write_packet(usbx, ept_info->trans_buf, ept_info->eptn, ept_info->total_len); diff --git a/project/at_start_f415/examples/adc/current_vref_value_check/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/current_vref_value_check/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/current_vref_value_check/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/current_vref_value_check/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/exint_trigger_partitioned/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/exint_trigger_partitioned/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/exint_trigger_partitioned/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/exint_trigger_partitioned/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/internal_temperature_sensor/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/internal_temperature_sensor/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/internal_temperature_sensor/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/internal_temperature_sensor/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/repeat_conversion_loop_transfer/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/repeat_conversion_loop_transfer/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/repeat_conversion_loop_transfer/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/repeat_conversion_loop_transfer/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/software_trigger_repeat/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/software_trigger_repeat/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/software_trigger_repeat/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/software_trigger_repeat/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/tmr_trigger_automatic_preempted/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/tmr_trigger_automatic_preempted/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/tmr_trigger_automatic_preempted/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/tmr_trigger_automatic_preempted/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/adc/voltage_monitoring/inc/at32f415_conf.h b/project/at_start_f415/examples/adc/voltage_monitoring/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/adc/voltage_monitoring/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/adc/voltage_monitoring/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/can/communication_mode/inc/at32f415_conf.h b/project/at_start_f415/examples/can/communication_mode/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/can/communication_mode/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/can/communication_mode/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/can/filter/inc/at32f415_conf.h b/project/at_start_f415/examples/can/filter/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/can/filter/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/can/filter/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/can/loopback_mode/inc/at32f415_conf.h b/project/at_start_f415/examples/can/loopback_mode/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/can/loopback_mode/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/can/loopback_mode/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cmp/cycle_by_cycle_control/inc/at32f415_conf.h b/project/at_start_f415/examples/cmp/cycle_by_cycle_control/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cmp/cycle_by_cycle_control/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cmp/cycle_by_cycle_control/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cmp/deep_sleep_mode/inc/at32f415_conf.h b/project/at_start_f415/examples/cmp/deep_sleep_mode/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cmp/deep_sleep_mode/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cmp/deep_sleep_mode/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cmp/output/inc/at32f415_conf.h b/project/at_start_f415/examples/cmp/output/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cmp/output/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cmp/output/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cortex_m4/bit_band/inc/at32f415_conf.h b/project/at_start_f415/examples/cortex_m4/bit_band/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cortex_m4/bit_band/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cortex_m4/bit_band/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cortex_m4/cmsis_dsp/inc/at32f415_conf.h b/project/at_start_f415/examples/cortex_m4/cmsis_dsp/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cortex_m4/cmsis_dsp/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cortex_m4/cmsis_dsp/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/cortex_m4/systick_interrupt/inc/at32f415_conf.h b/project/at_start_f415/examples/cortex_m4/systick_interrupt/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/cortex_m4/systick_interrupt/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/cortex_m4/systick_interrupt/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/crc/calculation/inc/at32f415_conf.h b/project/at_start_f415/examples/crc/calculation/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/crc/calculation/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/crc/calculation/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/crm/clock_failure_detection/inc/at32f415_conf.h b/project/at_start_f415/examples/crm/clock_failure_detection/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/crm/clock_failure_detection/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/crm/clock_failure_detection/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/crm/pll_config2/inc/at32f415_conf.h b/project/at_start_f415/examples/crm/pll_config2/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/crm/pll_config2/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/crm/pll_config2/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/crm/sysclk_switch/inc/at32f415_conf.h b/project/at_start_f415/examples/crm/sysclk_switch/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/crm/sysclk_switch/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/crm/sysclk_switch/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/debug/tmr1/inc/at32f415_conf.h b/project/at_start_f415/examples/debug/tmr1/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/debug/tmr1/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/debug/tmr1/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/dma/data_to_gpio_flexible/inc/at32f415_conf.h b/project/at_start_f415/examples/dma/data_to_gpio_flexible/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/dma/data_to_gpio_flexible/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/dma/data_to_gpio_flexible/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/dma/flash_to_sram/inc/at32f415_conf.h b/project/at_start_f415/examples/dma/flash_to_sram/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/dma/flash_to_sram/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/dma/flash_to_sram/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/bpr_domain/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/bpr_domain/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/bpr_domain/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/bpr_domain/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/calendar/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/calendar/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/calendar/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/calendar/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/lick_calibration/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/lick_calibration/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/lick_calibration/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/lick_calibration/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/tamper/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/tamper/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/tamper/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/tamper/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/time_stamp/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/time_stamp/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/time_stamp/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/time_stamp/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/ertc/wakeup_timer/inc/at32f415_conf.h b/project/at_start_f415/examples/ertc/wakeup_timer/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/ertc/wakeup_timer/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/ertc/wakeup_timer/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/exint/exint_config/inc/at32f415_conf.h b/project/at_start_f415/examples/exint/exint_config/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/exint/exint_config/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/exint/exint_config/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/exint/exint_software_trigger/inc/at32f415_conf.h b/project/at_start_f415/examples/exint/exint_software_trigger/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/exint/exint_software_trigger/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/exint/exint_software_trigger/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/flash/fap_enable/inc/at32f415_conf.h b/project/at_start_f415/examples/flash/fap_enable/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/flash/fap_enable/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/flash/fap_enable/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/flash/flash_write_read/inc/at32f415_conf.h b/project/at_start_f415/examples/flash/flash_write_read/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/flash/flash_write_read/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/flash/flash_write_read/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/gpio/io_toggle/inc/at32f415_conf.h b/project/at_start_f415/examples/gpio/io_toggle/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/gpio/io_toggle/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/gpio/io_toggle/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/gpio/led_toggle/inc/at32f415_conf.h b/project/at_start_f415/examples/gpio/led_toggle/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/gpio/led_toggle/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/gpio/led_toggle/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/gpio/swjtag_remap/inc/at32f415_conf.h b/project/at_start_f415/examples/gpio/swjtag_remap/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/gpio/swjtag_remap/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/gpio/swjtag_remap/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2c/communication_dma/inc/at32f415_conf.h b/project/at_start_f415/examples/i2c/communication_dma/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2c/communication_dma/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2c/communication_dma/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2c/communication_int/inc/at32f415_conf.h b/project/at_start_f415/examples/i2c/communication_int/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2c/communication_int/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2c/communication_int/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2c/communication_poll/inc/at32f415_conf.h b/project/at_start_f415/examples/i2c/communication_poll/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2c/communication_poll/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2c/communication_poll/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2c/eeprom/inc/at32f415_conf.h b/project/at_start_f415/examples/i2c/eeprom/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2c/eeprom/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2c/eeprom/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2s/halfduplex_dma/inc/at32f415_conf.h b/project/at_start_f415/examples/i2s/halfduplex_dma/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2s/halfduplex_dma/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2s/halfduplex_dma/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2s/halfduplex_interrupt/inc/at32f415_conf.h b/project/at_start_f415/examples/i2s/halfduplex_interrupt/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2s/halfduplex_interrupt/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2s/halfduplex_interrupt/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/i2s/spii2s_switch_halfduplex_polling/inc/at32f415_conf.h b/project/at_start_f415/examples/i2s/spii2s_switch_halfduplex_polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/i2s/spii2s_switch_halfduplex_polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/i2s/spii2s_switch_halfduplex_polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/deepsleep_ertc_alarm/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/deepsleep_ertc_alarm/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/deepsleep_ertc_alarm/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/deepsleep_ertc_alarm/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/deepsleep_ertc_tamper/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/deepsleep_ertc_tamper/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/deepsleep_ertc_tamper/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/deepsleep_ertc_tamper/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/power_voltage_monitor/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/power_voltage_monitor/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/power_voltage_monitor/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/power_voltage_monitor/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/sleep_tmr2/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/sleep_tmr2/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/sleep_tmr2/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/sleep_tmr2/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/sleep_usart1/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/sleep_usart1/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/sleep_usart1/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/sleep_usart1/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/standby_ertc_alarm/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/standby_ertc_alarm/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/standby_ertc_alarm/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/standby_ertc_alarm/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/standby_wakeup_pin/inc/at32f415_conf.h b/project/at_start_f415/examples/pwc/standby_wakeup_pin/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/pwc/standby_wakeup_pin/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/pwc/standby_wakeup_pin/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/pwc/standby_wakeup_pin/readme.txt b/project/at_start_f415/examples/pwc/standby_wakeup_pin/readme.txt index 0a6587c..0f89008 100644 --- a/project/at_start_f415/examples/pwc/standby_wakeup_pin/readme.txt +++ b/project/at_start_f415/examples/pwc/standby_wakeup_pin/readme.txt @@ -6,6 +6,7 @@ */ this demo is based on the at-start board, in this demo, shows how to exit - standby mode by wake-up pin. + standby mode by wake-up pin. + + for more detailed information. please refer to the application note document AN0100. - for more detailed information. please refer to the application note document AN0100. \ No newline at end of file diff --git a/project/at_start_f415/examples/pwc/standby_wakeup_pin/src/main.c b/project/at_start_f415/examples/pwc/standby_wakeup_pin/src/main.c index 554ec89..31992b2 100644 --- a/project/at_start_f415/examples/pwc/standby_wakeup_pin/src/main.c +++ b/project/at_start_f415/examples/pwc/standby_wakeup_pin/src/main.c @@ -79,7 +79,7 @@ int main(void) /*delay to check led status*/ delay_ms(1000); - /* enable wakeup pin - pa0 */ + /* enable wakeup pin */ pwc_wakeup_pin_enable(PWC_WAKEUP_PIN_1, TRUE); /* enter standby mode */ diff --git a/project/at_start_f415/examples/sdio/sd_mmc_card/inc/at32f415_conf.h b/project/at_start_f415/examples/sdio/sd_mmc_card/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/sdio/sd_mmc_card/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/sdio/sd_mmc_card/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/sdio/sd_mmc_card/readme.txt b/project/at_start_f415/examples/sdio/sd_mmc_card/readme.txt index f0bab09..2f190bc 100644 --- a/project/at_start_f415/examples/sdio/sd_mmc_card/readme.txt +++ b/project/at_start_f415/examples/sdio/sd_mmc_card/readme.txt @@ -9,7 +9,7 @@ sd card test: init, erase, single block r/w, multiple blocks r/w. mmc card test:init, erase, single block r/w, multiple blocks r/w, stream data r/w. - sdio1 at32f403a sd/mmc card + sdio1 sd/mmc card - sdio1_d0 pc8 ---> dat0 - sdio1_d1 pc9 ---> dat1 - sdio1_d2 pc10 ---> dat2 diff --git a/project/at_start_f415/examples/sdio/sdio_fatfs/inc/at32f415_conf.h b/project/at_start_f415/examples/sdio/sdio_fatfs/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/sdio/sdio_fatfs/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/sdio/sdio_fatfs/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/sdio/sdio_fatfs/readme.txt b/project/at_start_f415/examples/sdio/sdio_fatfs/readme.txt index 41f6e3e..5ffc1b4 100644 --- a/project/at_start_f415/examples/sdio/sdio_fatfs/readme.txt +++ b/project/at_start_f415/examples/sdio/sdio_fatfs/readme.txt @@ -8,7 +8,7 @@ this demo is based on the at-start board, in this demo, sdio1 to manage test FatFs R0.14b. - sdio1 at32f403a sd/mmc card + sdio1 sd/mmc card - sdio1_d0 pc8 ---> dat0 - sdio1_d1 pc9 ---> dat1 - sdio1_d2 pc10 ---> dat2 diff --git a/project/at_start_f415/examples/spi/crc_transfer_polling/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/crc_transfer_polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/crc_transfer_polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/crc_transfer_polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/fullduplex_polling/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/fullduplex_polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/fullduplex_polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/fullduplex_polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/halfduplex_interrupt/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/halfduplex_interrupt/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/halfduplex_interrupt/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/halfduplex_interrupt/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/halfduplex_transceiver_switch/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/halfduplex_transceiver_switch/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/halfduplex_transceiver_switch/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/halfduplex_transceiver_switch/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/only_receive_mode_polling/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/only_receive_mode_polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/only_receive_mode_polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/only_receive_mode_polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/use_jtagpin_hardwarecs_dma/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/use_jtagpin_hardwarecs_dma/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/use_jtagpin_hardwarecs_dma/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/use_jtagpin_hardwarecs_dma/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/spi/w25q_flash/inc/at32f415_conf.h b/project/at_start_f415/examples/spi/w25q_flash/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/spi/w25q_flash/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/spi/w25q_flash/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/6_steps/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/6_steps/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/6_steps/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/6_steps/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/7_pwm_output/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/7_pwm_output/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/7_pwm_output/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/7_pwm_output/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/cascade_synchro/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/cascade_synchro/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/cascade_synchro/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/cascade_synchro/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/complementary_signals/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/complementary_signals/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/complementary_signals/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/complementary_signals/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/dma/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/dma/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/dma/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/dma/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/dma_burst/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/dma_burst/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/dma_burst/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/dma_burst/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/encoder_tmr2/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/encoder_tmr2/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/encoder_tmr2/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/encoder_tmr2/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/external_clock/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/external_clock/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/external_clock/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/external_clock/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/hall_xor_tmr2/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/hall_xor_tmr2/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/hall_xor_tmr2/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/hall_xor_tmr2/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/hang_mode/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/hang_mode/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/hang_mode/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/hang_mode/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/input_capture/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/input_capture/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/input_capture/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/input_capture/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/oc_high/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/oc_high/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/oc_high/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/oc_high/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/oc_low/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/oc_low/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/oc_low/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/oc_low/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/oc_toggle_tmr3/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/oc_toggle_tmr3/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/oc_toggle_tmr3/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/oc_toggle_tmr3/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/oc_toggle_tmr9/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/oc_toggle_tmr9/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/oc_toggle_tmr9/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/oc_toggle_tmr9/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/one_cycle/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/one_cycle/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/one_cycle/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/one_cycle/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/parallel_synchro/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/parallel_synchro/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/parallel_synchro/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/parallel_synchro/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/pwm_input/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/pwm_input/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/pwm_input/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/pwm_input/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/pwm_input_dma/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/pwm_input_dma/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/pwm_input_dma/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/pwm_input_dma/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/pwm_output_simulate/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/pwm_output_simulate/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/pwm_output_simulate/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/pwm_output_simulate/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/pwm_output_tmr10/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/pwm_output_tmr10/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/pwm_output_tmr10/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/pwm_output_tmr10/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/pwm_output_tmr3/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/pwm_output_tmr3/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/pwm_output_tmr3/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/pwm_output_tmr3/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/timer_base/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/timer_base/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/timer_base/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/timer_base/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/tmr1_synchro/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/tmr1_synchro/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/tmr1_synchro/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/tmr1_synchro/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/tmr/tmr2_32bit/inc/at32f415_conf.h b/project/at_start_f415/examples/tmr/tmr2_32bit/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/tmr/tmr2_32bit/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/tmr/tmr2_32bit/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/half_duplex/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/half_duplex/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/half_duplex/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/half_duplex/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/hw_flow_control/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/hw_flow_control/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/hw_flow_control/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/hw_flow_control/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/idle_detection/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/idle_detection/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/idle_detection/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/idle_detection/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/interrupt/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/interrupt/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/interrupt/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/interrupt/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/irda/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/irda/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/irda/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/irda/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/polling/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/printf/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/printf/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/printf/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/printf/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/receiver_mute/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/receiver_mute/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/receiver_mute/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/receiver_mute/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/rs485/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/rs485/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/rs485/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/rs485/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/smartcard/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/smartcard/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/smartcard/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/smartcard/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/synchronous/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/synchronous/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/synchronous/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/synchronous/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/transfer_by_dma_interrupt/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/transfer_by_dma_interrupt/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/transfer_by_dma_interrupt/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/transfer_by_dma_interrupt/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usart/transfer_by_dma_polling/inc/at32f415_conf.h b/project/at_start_f415/examples/usart/transfer_by_dma_polling/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usart/transfer_by_dma_polling/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usart/transfer_by_dma_polling/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/audio/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/audio/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/audio/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/audio/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/composite_audio_hid/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/composite_audio_hid/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/composite_audio_hid/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/composite_audio_hid/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/composite_vcp_keyboard/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/composite_vcp_keyboard/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/composite_vcp_keyboard/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/composite_vcp_keyboard/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/composite_vcp_msc/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/composite_vcp_msc/inc/at32f415_conf.h index a03b751..4a24e61 100644 --- a/project/at_start_f415/examples/usb_device/composite_vcp_msc/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/composite_vcp_msc/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/custom_hid/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/custom_hid/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/custom_hid/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/custom_hid/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/keyboard/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/keyboard/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/keyboard/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/keyboard/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/mouse/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/mouse/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/mouse/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/mouse/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/msc/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/msc/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/msc/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/msc/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/printer/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/printer/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/printer/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/printer/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/vcp_loopback/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/vcp_loopback/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/vcp_loopback/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/vcp_loopback/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/virtual_comport/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/virtual_comport/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/virtual_comport/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/virtual_comport/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_device/virtual_msc_iap/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_device/virtual_msc_iap/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_device/virtual_msc_iap/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_device/virtual_msc_iap/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_host/cdc_demo/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_host/cdc_demo/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_host/cdc_demo/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_host/cdc_demo/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_host/hid_demo/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_host/hid_demo/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_host/hid_demo/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_host/hid_demo/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/usb_host/msc_only_fat32/inc/at32f415_conf.h b/project/at_start_f415/examples/usb_host/msc_only_fat32/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/usb_host/msc_only_fat32/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/usb_host/msc_only_fat32/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/wdt/wdt_reset/inc/at32f415_conf.h b/project/at_start_f415/examples/wdt/wdt_reset/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/wdt/wdt_reset/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/wdt/wdt_reset/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/wdt/wdt_standby/inc/at32f415_conf.h b/project/at_start_f415/examples/wdt/wdt_standby/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/wdt/wdt_standby/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/wdt/wdt_standby/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/examples/wwdt/wwdt_reset/inc/at32f415_conf.h b/project/at_start_f415/examples/wwdt/wwdt_reset/inc/at32f415_conf.h index 118874f..4f2af1b 100644 --- a/project/at_start_f415/examples/wwdt/wwdt_reset/inc/at32f415_conf.h +++ b/project/at_start_f415/examples/wwdt/wwdt_reset/inc/at32f415_conf.h @@ -31,22 +31,22 @@ extern "C" { #endif /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415/templates/inc/at32f415_conf.h b/project/at_start_f415/templates/inc/at32f415_conf.h index daaa0a9..8f3180e 100644 --- a/project/at_start_f415/templates/inc/at32f415_conf.h +++ b/project/at_start_f415/templates/inc/at32f415_conf.h @@ -39,22 +39,22 @@ extern "C" { */ /** - * @brief in the following line adjust the value of high speed exernal crystal (hext) + * @brief in the following line adjust the value of high speed external crystal (hext) * used in your application * tip: to avoid modifying this file each time you need to use different hext, you * can define the hext value in your toolchain compiler preprocessor. */ #if !defined HEXT_VALUE -#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed external crystal in hz */ #endif /** - * @brief in the following line adjust the high speed exernal crystal (hext) startup + * @brief in the following line adjust the high speed external crystal (hext) startup * timeout value */ #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ #define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ -#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed exernal clock in hz */ +#define LEXT_VALUE ((uint32_t)32768) /*!< value of the low speed external clock in hz */ /* module define -------------------------------------------------------------*/ #define CRM_MODULE_ENABLED diff --git a/project/at_start_f415_Example_list.htm b/project/at_start_f415_Example_list.htm index ca418ac..361dcf6 100644 --- a/project/at_start_f415_Example_list.htm +++ b/project/at_start_f415_Example_list.htm @@ -295,7 +295,7 @@ div.WordSection1

11

-

cycle_by_cycle_control

+ + +

ʾCMPڵӦ

+ + + + +

12

+ + +

deep_sleep_mode

12

+ style='font-size:11.0pt;font-family:;color:black'>13

13

+ style='font-size:11.0pt;font-family:;color:black'>14

14

+ style='font-size:11.0pt;font-family:;color:black'>15

15

+ style='font-size:11.0pt;font-family:;color:black'>16

16

+ style='font-size:11.0pt;font-family:;color:black'>17

17

+ style='font-size:11.0pt;font-family:;color:black'>18

18

+ style='font-size:11.0pt;font-family:;color:black'>19

19

+ style='font-size:11.0pt;font-family:;color:black'>20

20

+ style='font-size:11.0pt;font-family:;color:black'>21

21

+ style='font-size:11.0pt;font-family:;color:black'>22

22

+ style='font-size:11.0pt;font-family:;color:black'>23

23

+ style='font-size:11.0pt;font-family:;color:black'>24

24

+ style='font-size:11.0pt;font-family:;color:black'>25

25

+ style='font-size:11.0pt;font-family:;color:black'>26

26

+ style='font-size:11.0pt;font-family:;color:black'>27

27

+ style='font-size:11.0pt;font-family:;color:black'>28

28

+ style='font-size:11.0pt;font-family:;color:black'>29

29

+ style='font-size:11.0pt;font-family:;color:black'>30

30

+ style='font-size:11.0pt;font-family:;color:black'>31

31

+ style='font-size:11.0pt;font-family:;color:black'>32

32

+ style='font-size:11.0pt;font-family:;color:black'>33

33

+ style='font-size:11.0pt;font-family:;color:black'>34

34

+ style='font-size:11.0pt;font-family:;color:black'>35

35

+ style='font-size:11.0pt;font-family:;color:black'>36

36

+ style='font-size:11.0pt;font-family:;color:black'>37

37

+ style='font-size:11.0pt;font-family:;color:black'>38

38

+ style='font-size:11.0pt;font-family:;color:black'>39

39

+ style='font-size:11.0pt;font-family:;color:black'>40

40

+ style='font-size:11.0pt;font-family:;color:black'>41

41

+ style='font-size:11.0pt;font-family:;color:black'>42

42

+ style='font-size:11.0pt;font-family:;color:black'>43

43

+ style='font-size:11.0pt;font-family:;color:black'>44

44

+ style='font-size:11.0pt;font-family:;color:black'>45

45

+ style='font-size:11.0pt;font-family:;color:black'>46

46

+ style='font-size:11.0pt;font-family:;color:black'>47

47

+ style='font-size:11.0pt;font-family:;color:black'>48

48

+ style='font-size:11.0pt;font-family:;color:black'>49

49

+ style='font-size:11.0pt;font-family:;color:black'>50

50

+ style='font-size:11.0pt;font-family:;color:black'>51

51

+ style='font-size:11.0pt;font-family:;color:black'>52

52

+ style='font-size:11.0pt;font-family:;color:black'>53

53

+ style='font-size:11.0pt;font-family:;color:black'>54

54

+ style='font-size:11.0pt;font-family:;color:black'>55

55

+ style='font-size:11.0pt;font-family:;color:black'>56

56

+ style='font-size:11.0pt;font-family:;color:black'>57

57

+ style='font-size:11.0pt;font-family:;color:black'>58

58

+ style='font-size:11.0pt;font-family:;color:black'>59

59

+ style='font-size:11.0pt;font-family:;color:black'>60

60

+ style='font-size:11.0pt;font-family:;color:black'>61

61

+ style='font-size:11.0pt;font-family:;color:black'>62

62

+ style='font-size:11.0pt;font-family:;color:black'>63

63

+ style='font-size:11.0pt;font-family:;color:black'>64

64

+ style='font-size:11.0pt;font-family:;color:black'>65

65

+ style='font-size:11.0pt;font-family:;color:black'>66

66

+ style='font-size:11.0pt;font-family:;color:black'>67

67

+ style='font-size:11.0pt;font-family:;color:black'>68

68

+ style='font-size:11.0pt;font-family:;color:black'>69

69

+ style='font-size:11.0pt;font-family:;color:black'>70

70

+ style='font-size:11.0pt;font-family:;color:black'>71

71

+ style='font-size:11.0pt;font-family:;color:black'>72

72

+ style='font-size:11.0pt;font-family:;color:black'>73

73

+ style='font-size:11.0pt;font-family:;color:black'>74

74

+ style='font-size:11.0pt;font-family:;color:black'>75

75

+ style='font-size:11.0pt;font-family:;color:black'>76

76

+ style='font-size:11.0pt;font-family:;color:black'>77

77

+ style='font-size:11.0pt;font-family:;color:black'>78

78

+ style='font-size:11.0pt;font-family:;color:black'>79

79

+ style='font-size:11.0pt;font-family:;color:black'>80

80

+ style='font-size:11.0pt;font-family:;color:black'>81

81

+ style='font-size:11.0pt;font-family:;color:black'>82

82

+ style='font-size:11.0pt;font-family:;color:black'>83

83

+ style='font-size:11.0pt;font-family:;color:black'>84

84

+ style='font-size:11.0pt;font-family:;color:black'>85

85

+ style='font-size:11.0pt;font-family:;color:black'>86

86

+ style='font-size:11.0pt;font-family:;color:black'>87

87

+ style='font-size:11.0pt;font-family:;color:black'>88

88

+ style='font-size:11.0pt;font-family:;color:black'>89

89

+ style='font-size:11.0pt;font-family:;color:black'>90

90

+ style='font-size:11.0pt;font-family:;color:black'>91

91

+ style='font-size:11.0pt;font-family:;color:black'>92

92

+ style='font-size:11.0pt;font-family:;color:black'>93

93

+ style='font-size:11.0pt;font-family:;color:black'>94

94

+ style='font-size:11.0pt;font-family:;color:black'>95

95

+ style='font-size:11.0pt;font-family:;color:black'>96

96

+ style='font-size:11.0pt;font-family:;color:black'>97

97

+ style='font-size:11.0pt;font-family:;color:black'>98

98

+ style='font-size:11.0pt;font-family:;color:black'>99

99

+ style='font-size:11.0pt;font-family:;color:black'>100

100

+ style='font-size:11.0pt;font-family:;color:black'>101

101

+ style='font-size:11.0pt;font-family:;color:black'>102

102

+ style='font-size:11.0pt;font-family:;color:black'>103

103

+ style='font-size:11.0pt;font-family:;color:black'>104

104

+ style='font-size:11.0pt;font-family:;color:black'>105

105

+ style='font-size:11.0pt;font-family:;color:black'>106

106

+ style='font-size:11.0pt;font-family:;color:black'>107

107

+ style='font-size:11.0pt;font-family:;color:black'>108

108

+ style='font-size:11.0pt;font-family:;color:black'>109

109

+ style='font-size:11.0pt;font-family:;color:black'>110

110

+ style='font-size:11.0pt;font-family:;color:black'>111

111

+ style='font-size:11.0pt;font-family:;color:black'>112

112

+ style='font-size:11.0pt;font-family:;color:black'>113

113

+ style='font-size:11.0pt;font-family:;color:black'>114

114

+ style='font-size:11.0pt;font-family:;color:black'>115