module ti.sysbios.family.arm.ducati.CTM |
|
|
Counter Timer Module Device Definitions
For Ducati SYS/BIOS applications,
Counter/timer 0 is assigned to core 0's Timer 0 interrupt 18
Counter/timer 1 is assigned to core 1's Timer 0 interrupt 22
Counters 2/3 are assigned to core 0's TimestampProvider
Counters 4/5 are assigned to core 1's TimestampProvider
Counters 6,7 are for application use.
[
more ... ]
#include <ti/sysbios/family/arm/ducati/CTM.h>
Functions common to all target modules |
|
|
Typedefs |
typedef struct | |
Variables |
| |
DETAILS
For Ducati SYS/BIOS applications,
Counter/timer 0 is assigned to core 0's Timer 0 interrupt 18
Counter/timer 1 is assigned to core 1's Timer 0 interrupt 22
Counters 2/3 are assigned to core 0's TimestampProvider
Counters 4/5 are assigned to core 1's TimestampProvider
Counters 6,7 are for application use.
Counters 2/3 and 4/5 are in chained mode and started simultaneously
by core 0 so that both cores timestamps are in sync with each other
AND both chained timers have independent SHADOW registers to guarantee
64bit counter reading coherency.
struct CTM_CTM |
|
Counter Timer Module
Physical Base address is 0x55080400
Auto-configured virtual Base address is 0x40000400
typedef struct CTM_CTM {
UInt32 CTCNTL;
// 0x0000
UInt32 RES_04[7];
// 0x0004 - 0x0020
UInt32 CTSTMCNTL;
// 0x0020
UInt32 CTSTMMSTID;
// 0x0024
UInt32 CTSTMINTVL;
// 0x0028
UInt32 CTSTMSEL0;
// 0x002C
UInt32 CTSTMSEL1;
// 0x0030
UInt32 RES_34[3];
// 0x0034 - 0x0040
UInt32 TINTVLR[8];
// 0x0040 - 0x0060
UInt32 RES_60[7];
// 0x0060 - 0x007C
UInt32 CTNUMDBG;
// 0x007C
UInt32 CTDBGSGL[8];
// 0x0080 - 0x00A0
UInt32 RES_A0[20];
// 0x00A0 - 0x00F0
UInt32 CTGNBL[2];
// 0x00F0 - 0x00F8
UInt32 CTGRST[2];
// 0x00F8 - 0x0100
UInt32 CTCR[32];
// 0x0100 - 0x0180
UInt32 CTCNTR[32];
// 0x0180 - 0x0200
} CTM_CTM;
extern CTM_ctm |
|
Physical CTM Device.
Short name is "CTM_ctm"
Long name is "ti_sysbios_family_arm.ducati_CTM_ctm"
CTM_CTM CTM_ctm; // linked as extern ti_sysbios_family_arm_ducati_CTM_ctm
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool CTM_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool CTM_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 CTM_Module_getMask();
// Returns the diagnostics mask for this module
Void CTM_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var CTM = xdc.useModule('ti.sysbios.family.arm.ducati.CTM');
module-wide constants & types
module-wide config parameters
generated on Thu, 25 May 2017 22:09:58 GMT