summaryrefslogtreecommitdiff
path: root/timer
diff options
context:
space:
mode:
Diffstat (limited to 'timer')
-rw-r--r--timer/stm32_timer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/timer/stm32_timer.h b/timer/stm32_timer.h
index 97436e6..f55b09c 100644
--- a/timer/stm32_timer.h
+++ b/timer/stm32_timer.h
@@ -31,6 +31,18 @@ struct STM32_TIMER_reg_v1_t {
volatile uint32_t TISEL;
};
+struct STM32_TIMER_reg_lpv1_t {
+ volatile uint32_t ISR;
+ volatile uint32_t ICR;
+ volatile uint32_t IER;
+ volatile uint32_t CFGR;
+ volatile uint32_t CR;
+ volatile uint32_t CMP;
+ volatile uint32_t ARR;
+ volatile uint32_t CNT;
+ volatile uint32_t OR;
+};
+
template <typename T>
class STM32_TIMER_t : public mmio_ptr<T> {
public: