Fixed clock source for RT counter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3762 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a4bea39bfe
commit
32d143ae63
|
@ -1349,13 +1349,13 @@ typedef uint32_t halrtcnt_t;
|
||||||
/**
|
/**
|
||||||
* @brief Realtime counter frequency.
|
* @brief Realtime counter frequency.
|
||||||
* @note The DWT_CYCCNT register is incremented directly by the system
|
* @note The DWT_CYCCNT register is incremented directly by the system
|
||||||
* clock so this function returns STM32_SYSCLK.
|
* clock so this function returns STM32_HCLK.
|
||||||
*
|
*
|
||||||
* @return The realtime counter frequency of type halclock_t.
|
* @return The realtime counter frequency of type halclock_t.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define hal_lld_get_counter_frequency() STM32_SYSCLK
|
#define hal_lld_get_counter_frequency() STM32_HCLK
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
|
|
|
@ -1369,13 +1369,13 @@ typedef uint32_t halrtcnt_t;
|
||||||
/**
|
/**
|
||||||
* @brief Realtime counter frequency.
|
* @brief Realtime counter frequency.
|
||||||
* @note The DWT_CYCCNT register is incremented directly by the system
|
* @note The DWT_CYCCNT register is incremented directly by the system
|
||||||
* clock so this function returns STM32_SYSCLK.
|
* clock so this function returns STM32_HCLK.
|
||||||
*
|
*
|
||||||
* @return The realtime counter frequency of type halclock_t.
|
* @return The realtime counter frequency of type halclock_t.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define hal_lld_get_counter_frequency() STM32_SYSCLK
|
#define hal_lld_get_counter_frequency() STM32_HCLK
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
|
|
|
@ -1024,13 +1024,13 @@ typedef uint32_t halrtcnt_t;
|
||||||
/**
|
/**
|
||||||
* @brief Realtime counter frequency.
|
* @brief Realtime counter frequency.
|
||||||
* @note The DWT_CYCCNT register is incremented directly by the system
|
* @note The DWT_CYCCNT register is incremented directly by the system
|
||||||
* clock so this function returns STM32_SYSCLK.
|
* clock so this function returns STM32_HCLK.
|
||||||
*
|
*
|
||||||
* @return The realtime counter frequency of type halclock_t.
|
* @return The realtime counter frequency of type halclock_t.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define hal_lld_get_counter_frequency() STM32_SYSCLK
|
#define hal_lld_get_counter_frequency() STM32_HCLK
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
|
|
Loading…
Reference in New Issue