update version to v2.0.8

This commit is contained in:
Artery-MCU
2022-11-22 18:18:07 +08:00
parent d95c5fb9e8
commit d4910499d3
1365 changed files with 13037 additions and 14600 deletions

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_adc.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 adc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_can.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 can header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_cmp.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 cmp header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_crc.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 crc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_crm.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 crm header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_debug.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 debug header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_def.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 macros header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_dma.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 dma header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_ertc.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 ertc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_exint.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 exint header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_flash.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 flash header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_gpio.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 gpio header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_i2c.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 i2c header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_misc.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 misc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_pwc.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 pwc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_sdio.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 sdio header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_spi.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 spi header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_tmr.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 tmr header file
**************************************************************************
* Copyright notice & Disclaimer
@@ -391,6 +389,15 @@ typedef enum
TMR_WP_LEVEL_1 = 0x03 /*!< tmr write protect level 1 */
}tmr_wp_level_type;
/**
* @brief tmr output channel switch selection type
*/
typedef enum
{
TMR_CH_SWITCH_SELECT_EXT = 0x00, /*!< tmr output channel switch select ext pin */
TMR_CH_SWITCH_SELECT_CXORAW_OFF = 0x01, /*!< tmr output channel switch select cxoraw off signal */
}tmr_ch_switch_select_type ;
/**
* @brief tmr output config type
*/
@@ -489,7 +496,7 @@ typedef struct
struct
{
__IO uint32_t smsel : 3; /* [2:0] */
__IO uint32_t reserved1 : 1; /* [3] */
__IO uint32_t cossel : 1; /* [3] */
__IO uint32_t stis : 3; /* [6:4] */
__IO uint32_t sts : 1; /* [7] */
__IO uint32_t esf : 4; /* [11:8] */
@@ -869,6 +876,7 @@ void tmr_output_channel_buffer_enable(tmr_type *tmr_x, tmr_channel_select_type t
confirm_state new_state);
void tmr_output_channel_immediately_set(tmr_type *tmr_x, tmr_channel_select_type tmr_channel, \
confirm_state new_state);
void tmr_output_channel_switch_select(tmr_type *tmr_x, tmr_ch_switch_select_type switch_sel);
void tmr_output_channel_switch_set(tmr_type *tmr_x, tmr_channel_select_type tmr_channel, \
confirm_state new_state);
void tmr_one_cycle_mode_enable(tmr_type *tmr_x, confirm_state new_state);

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_usart.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 usart header file
**************************************************************************
* Copyright notice & Disclaimer
@@ -318,9 +316,13 @@ typedef struct
#define USART1 ((usart_type *) USART1_BASE)
#define USART2 ((usart_type *) USART2_BASE)
#if defined (AT32F415Cx) || defined (AT32F415Rx)
#define USART3 ((usart_type *) USART3_BASE)
#endif
#if defined (AT32F415Rx)
#define UART4 ((usart_type *) UART4_BASE)
#define UART5 ((usart_type *) UART5_BASE)
#endif
/** @defgroup USART_exported_functions
* @{

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_usb.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 usb header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_wdt.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 wdt header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@@ -1,8 +1,6 @@
/**
**************************************************************************
* @file at32f415_wwdt.h
* @version v2.0.7
* @date 2022-08-16
* @brief at32f415 wwdt header file
**************************************************************************
* Copyright notice & Disclaimer