aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32F37x
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32F37x')
-rw-r--r--os/hal/ports/STM32F37x/adc_lld.h2
-rw-r--r--os/hal/ports/STM32F37x/hal_lld.h35
2 files changed, 2 insertions, 35 deletions
diff --git a/os/hal/ports/STM32F37x/adc_lld.h b/os/hal/ports/STM32F37x/adc_lld.h
index 2258952b1..db7ae39ec 100644
--- a/os/hal/ports/STM32F37x/adc_lld.h
+++ b/os/hal/ports/STM32F37x/adc_lld.h
@@ -397,7 +397,7 @@ typedef struct {
/**
* @brief Enables the circular buffer mode for the group.
*/
- bool_t circular;
+ bool circular;
/**
* @brief Number of the analog channels belonging to the conversion group.
*/
diff --git a/os/hal/ports/STM32F37x/hal_lld.h b/os/hal/ports/STM32F37x/hal_lld.h
index 2d7a0dac1..763e70da0 100644
--- a/os/hal/ports/STM32F37x/hal_lld.h
+++ b/os/hal/ports/STM32F37x/hal_lld.h
@@ -965,48 +965,15 @@
/* Driver data structures and types. */
/*===========================================================================*/
-/**
- * @brief Type representing a system clock frequency.
- */
-typedef uint32_t halclock_t;
-
-/**
- * @brief Type of the realtime free counter value.
- */
-typedef uint32_t halrtcnt_t;
-
/*===========================================================================*/
/* Driver macros. */
/*===========================================================================*/
-/**
- * @brief Returns the current value of the system free running counter.
- * @note This service is implemented by returning the content of the
- * DWT_CYCCNT register.
- *
- * @return The value of the system free running counter of
- * type halrtcnt_t.
- *
- * @notapi
- */
-#define hal_lld_get_counter_value() DWT_CYCCNT
-
-/**
- * @brief Realtime counter frequency.
- * @note The DWT_CYCCNT register is incremented directly by the system
- * clock so this function returns STM32_HCLK.
- *
- * @return The realtime counter frequency of type halclock_t.
- *
- * @notapi
- */
-#define hal_lld_get_counter_frequency() STM32_HCLK
-
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/
-/* STM32 ISR, DMA and RCC helpers.*/
+/* Various helpers.*/
#include "nvic.h"
#include "stm32_isr.h"
#include "stm32_dma.h"