HPM APP
HPMicro Application solution
mp_timer.c File Reference
#include "hpm_gptmr_drv.h"
#include "mp_timer.h"
#include "mp_api.h"

Functions

void mp_timer_isr (void)
 
 SDK_DECLARE_EXT_ISR_M (IRQn_GPTMR2, mp_timer_isr)
 
int hpm_mp_timer_create (uint32_t us, mp_timer_cb cb)
 High precision timer creation ;高精定时器创建 More...
 

Variables

static mp_timer_cb timer_cb
 

Function Documentation

◆ mp_timer_isr()

void mp_timer_isr ( void  )

◆ SDK_DECLARE_EXT_ISR_M()

SDK_DECLARE_EXT_ISR_M ( IRQn_GPTMR2  ,
mp_timer_isr   
)

Variable Documentation

◆ timer_cb

mp_timer_cb timer_cb
static