Cpu.h File Reference

#include <xdc/std.h>
#include <ti/sdo/dmai/Dmai.h>

Go to the source code of this file.


Data Structures

struct  Cpu_Attrs
 Attributes used to create a Cpu. More...

Typedefs

typedef struct Cpu_Object * Cpu_Handle
 Handle through which to reference a Cpu descriptor.

Enumerations

enum  Cpu_Device {
  Cpu_Device_DM355 = 0,
  Cpu_Device_DM365,
  Cpu_Device_DM368,
  Cpu_Device_DM6446,
  Cpu_Device_DM6467,
  Cpu_Device_DM6437,
  Cpu_Device_OMAP3530,
  Cpu_Device_OMAPL137,
  Cpu_Device_OMAPL138,
  Cpu_Device_DM3730,
  Cpu_Device_COUNT
}
 Types of devices which a Cpu may be part of. More...

Functions

Cpu_Handle Cpu_create (Cpu_Attrs *attrs)
 Creates a Cpu descriptor.
Int Cpu_getDevice (Cpu_Handle hCpu, Cpu_Device *device)
 Get the device type the application is running on.
Char * Cpu_getDeviceName (Cpu_Device device)
 Get the string name of a certain device type.
Int Cpu_getLoad (Cpu_Handle hCpu, Int *cpuLoad)
 Get the current load from the Cpu.
Int Cpu_delete (Cpu_Handle hCpu)
 Delete the Cpu descriptor.

Variables

const Cpu_Attrs Cpu_Attrs_DEFAULT
 Default attributes for a Cpu.

Copyright 2011, Texas Instruments Incorporated