18#ifndef __HAL_DRIVER_${SERIES/TIMER_IP}_TIMER_H__
19#define __HAL_DRIVER_${SERIES/TIMER_IP}_TIMER_H__
25#if VSF_HAL_USE_TIMER == ENABLED
27#include "../../__device.h"
39#if defined(__VSF_HAL_${TIMER_IP}_TIMER_CLASS_IMPLEMENT)
40# define __VSF_CLASS_IMPLEMENT__
41#elif defined(__VSF_HAL_${TIMER_IP}_TIMER_CLASS_INHERIT__)
42# define __VSF_CLASS_INHERIT__
59#ifndef VSF_${TIMER_IP}_TIMER_CFG_MULTI_CLASS
60# define VSF_${TIMER_IP}_TIMER_CFG_MULTI_CLASS VSF_TIMER_CFG_MULTI_CLASS
73#define VSF_TIMER_CFG_REIMPLEMENT_TYPE_CHANNEL_MODE ENABLED
74#define VSF_TIMER_CFG_REIMPLEMENT_TYPE_IRQ_MASK ENABLED
82#if VSF_${TIMER_IP}_CFG_MULTI_CLASS == ENABLED
132#undef __VSF_HAL_${TIMER_IP}_TIMER_CLASS_IMPLEMENT
133#undef __VSF_HAL_${TIMER_IP}_TIMER_CLASS_INHERIT__
vsf_timer_irq_mask_t
Definition timer.h:111
@ VSF_TIMER_IRQ_MASK_OVERFLOW
Definition timer.h:112
vsf_timer_mode_t
Definition timer.h:101
@ VSF_TIMER_MODE_CONTINUES
Definition timer.h:103
@ VSF_TIMER_MODE_NO_PWM
Definition timer.h:106
@ VSF_TIMER_MODE_PWM
Definition timer.h:105
@ VSF_TIMER_MODE_ONESHOT
Definition timer.h:102
vsf_timer_isr_t isr
Definition timer.h:96
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_template_timer.h:140
Definition vsf_template_timer.h:184
vsf_timer_irq_mask_t
Definition vsf_template_timer.h:123
vsf_timer_mode_t
Definition vsf_template_timer.h:100