|
VSF Documented
|
at32f402_405 config header file More...
#include "at32f402_405_acc.h"#include "at32f402_405_adc.h"#include "at32f402_405_can.h"#include "at32f402_405_crc.h"#include "at32f402_405_crm.h"#include "at32f402_405_debug.h"#include "at32f402_405_dma.h"#include "at32f402_405_ertc.h"#include "at32f402_405_exint.h"#include "at32f402_405_flash.h"#include "at32f402_405_gpio.h"#include "at32f402_405_i2c.h"#include "at32f402_405_misc.h"#include "at32f402_405_pwc.h"#include "at32f402_405_qspi.h"#include "at32f402_405_scfg.h"#include "at32f402_405_spi.h"#include "at32f402_405_tmr.h"#include "at32f402_405_usart.h"#include "at32f402_405_usb.h"#include "at32f402_405_wdt.h"#include "at32f402_405_wwdt.h"Go to the source code of this file.
Macros | |
| #define | HEXT_VALUE ((uint32_t)12000000) |
| in the following line adjust the value of high speed external crystal (hext) used in your application | |
| #define | HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) |
| in the following line adjust the high speed external crystal (hext) startup timeout value | |
| #define | HICK_VALUE ((uint32_t)8000000) |
| #define | LEXT_VALUE ((uint32_t)32768) |
| #define | ACC_MODULE_ENABLED |
| defined(VSF_HEADER_ONLY_SHOW_ARCH_INFO) || defined(VSF_HEADER_ONLY_SHOW_VENDOR_INFO) | |
| #define | ADC_MODULE_ENABLED |
| #define | CAN_MODULE_ENABLED |
| #define | CRC_MODULE_ENABLED |
| #define | CRM_MODULE_ENABLED |
| #define | DEBUG_MODULE_ENABLED |
| #define | DMA_MODULE_ENABLED |
| #define | ERTC_MODULE_ENABLED |
| #define | EXINT_MODULE_ENABLED |
| #define | FLASH_MODULE_ENABLED |
| #define | GPIO_MODULE_ENABLED |
| #define | I2C_MODULE_ENABLED |
| #define | MISC_MODULE_ENABLED |
| #define | PWC_MODULE_ENABLED |
| #define | QSPI_MODULE_ENABLED |
| #define | SCFG_MODULE_ENABLED |
| #define | SPI_MODULE_ENABLED |
| #define | TMR_MODULE_ENABLED |
| #define | USART_MODULE_ENABLED |
| #define | USB_MODULE_ENABLED |
| #define | WDT_MODULE_ENABLED |
| #define | WWDT_MODULE_ENABLED |
at32f402_405 config header file
Copyright notice & Disclaimer
The software Board Support Package (BSP) that is made available to download from Artery official website is the copyrighted work of Artery. Artery authorizes customers to use, copy, and distribute the BSP software and its related documentation for the purpose of design and development in conjunction with Artery microcontrollers. Use of the software is governed by this copyright notice and the following disclaimer.
THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
| #define HEXT_VALUE ((uint32_t)12000000) |
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. value of the high speed external crystal in hz
| #define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) |
in the following line adjust the high speed external crystal (hext) startup timeout value
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 external clock in hz
| #define ACC_MODULE_ENABLED |
defined(VSF_HEADER_ONLY_SHOW_ARCH_INFO) || defined(VSF_HEADER_ONLY_SHOW_VENDOR_INFO)
| #define ADC_MODULE_ENABLED |
| #define CAN_MODULE_ENABLED |
| #define CRC_MODULE_ENABLED |
| #define CRM_MODULE_ENABLED |
| #define DEBUG_MODULE_ENABLED |
| #define DMA_MODULE_ENABLED |
| #define ERTC_MODULE_ENABLED |
| #define EXINT_MODULE_ENABLED |
| #define FLASH_MODULE_ENABLED |
| #define GPIO_MODULE_ENABLED |
| #define I2C_MODULE_ENABLED |
| #define MISC_MODULE_ENABLED |
| #define PWC_MODULE_ENABLED |
| #define QSPI_MODULE_ENABLED |
| #define SCFG_MODULE_ENABLED |
| #define SPI_MODULE_ENABLED |
| #define TMR_MODULE_ENABLED |
| #define USART_MODULE_ENABLED |
| #define USB_MODULE_ENABLED |
| #define WDT_MODULE_ENABLED |
| #define WWDT_MODULE_ENABLED |