mirror of
https://github.com/ArteryTek/AT32F413_Firmware_Library.git
synced 2026-05-21 09:22:02 +00:00
update version to v2.1.0
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
|
||||
this demo is based on the at-start board, in this demo, acc will calibration
|
||||
hick when usb is connecting.
|
||||
for more detailed information. please refer to the application note document AN0107.
|
||||
for more detailed information. please refer to the application note document AN0107.
|
||||
@@ -28,9 +28,9 @@
|
||||
/**
|
||||
* @brief system clock config program
|
||||
* @note the system clock is configured as follow:
|
||||
* - system clock = hext / 2 * pll_mult
|
||||
* - system clock source = pll (hext)
|
||||
* - hext = 8000000
|
||||
* system clock (sclk) = hext / 2 * pll_mult
|
||||
* system clock source = pll (hext)
|
||||
* - hext = HEXT_VALUE
|
||||
* - sclk = 192000000
|
||||
* - ahbdiv = 1
|
||||
* - ahbclk = 192000000
|
||||
|
||||
@@ -158,11 +158,7 @@ void system_clock_config_for_acc(void)
|
||||
/* reset crm */
|
||||
crm_reset();
|
||||
|
||||
#ifdef SCLK_FROM_HICK
|
||||
crm_clock_source_enable(CRM_CLOCK_SOURCE_HICK, TRUE);
|
||||
#elif defined SCLK_FROM_HEXT
|
||||
crm_clock_source_enable(CRM_CLOCK_SOURCE_HEXT, TRUE);
|
||||
#endif
|
||||
|
||||
/* wait till hick is ready */
|
||||
while(SET != crm_flag_get(CRM_HICK_STABLE_FLAG))
|
||||
|
||||
Reference in New Issue
Block a user