HPM SDK
HPMicro Software Development Kit
MONO driver APIs

MONO driver APIs. More...

Functions

static uint64_t mono_get_counter (MONO_Type *ptr)
 Get counter. More...
 
static void mono_update (MONO_Type *ptr)
 Update MONO counter by 1. More...
 

Detailed Description

MONO driver APIs.

Function Documentation

◆ mono_get_counter()

static uint64_t mono_get_counter ( MONO_Type ptr)
inlinestatic

#include <drivers/inc/hpm_mono_drv.h>

Get counter.

Parameters
[in]ptrMONO base address
Returns
64 bits counter value

◆ mono_update()

static void mono_update ( MONO_Type ptr)
inlinestatic

#include <drivers/inc/hpm_mono_drv.h>

Update MONO counter by 1.

Parameters
[in]ptrMONO base