Dataflow Runtime API  3.0.3.0
Enumerations | Functions
SystemPeripherals_DMTimer.h File Reference
#include <Imt.Base.Core.Platform/Platform.h>

Enumerations

enum  DMTimerClockSource { DMTimerClockSource_SystemClock = 1 , DMTimerClockSource_PeripheralPLL32KHz = 2 , DMTimerClockSource_ExternalInput = 0 }
 DMTimerperipheral module. More...
 

Functions

bool DMTimer2_Configure (const DMTimerClockSource clockSource)
 Configure the timer 2 clock source. More...
 

Enumeration Type Documentation

◆ DMTimerClockSource

DMTimerperipheral module.

Each DMTimer[2–7] functional clock is can be selected from one of three sources:

  • The system clock (CLK_M_OSC)
  • The PER PLL generated 32.768 KHz clock (CLK_32KHZ)
  • The TCLKIN external timer input clock
Enumerator
DMTimerClockSource_SystemClock 
DMTimerClockSource_PeripheralPLL32KHz 
DMTimerClockSource_ExternalInput 

Function Documentation

◆ DMTimer2_Configure()

bool DMTimer2_Configure ( const DMTimerClockSource  clockSource)

Configure the timer 2 clock source.

Parameters
clockSourcethe clock source configuration
Returns
true if success, otherwise false