module ti.sdo.ipc.family.arctic.InterruptArp32

ARP32 based interrupt manager

C synopsis target-domain sourced in ti/sdo/ipc/family/arctic/InterruptArp32.xdc
#include <ti/sdo/ipc/family/arctic/InterruptArp32.h>
Functions common to all IInterrupt modules
UInt 
Void 
Void 
Void 
Void 
Void 
Functions common to all target modules
Typedefs
typedef struct
Constants
extern const UInt32 
 
 
struct InterruptArp32_IntInfo
C synopsis target-domain
typedef struct InterruptArp32_IntInfo {
    UInt localIntId;
    UInt remoteIntId;
    UInt intVectorId;
} InterruptArp32_IntInfo;
 
 
config InterruptArp32_mailboxBaseAddr  // module-wide
C synopsis target-domain
extern const UInt32 InterruptArp32_mailboxBaseAddr;
 
 
InterruptArp32_intClear()  // module-wide

Clear interrupt

C synopsis target-domain
UInt InterruptArp32_intClear(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
RETURNS
Value (if any) of the interrupt before it was cleared
 
InterruptArp32_intDisable()  // module-wide

Disables the interrupt corresponding to intId

C synopsis target-domain
Void InterruptArp32_intDisable(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
 
InterruptArp32_intEnable()  // module-wide

Enables the interrupt corresponding to intId

C synopsis target-domain
Void InterruptArp32_intEnable(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
 
InterruptArp32_intRegister()  // module-wide

Register an interrupt line to a remote processor

C synopsis target-domain
Void InterruptArp32_intRegister(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo, Fxn func, UArg arg);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
func — Function to register.
arg — Argument that will be passed to func
 
InterruptArp32_intSend()  // module-wide

Send interrupt to the remote processor

C synopsis target-domain
Void InterruptArp32_intSend(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo, UArg arg);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
arg — Argument for sending interrupt.
 
InterruptArp32_intUnregister()  // module-wide

Unregister an interrupt line to a remote processor

C synopsis target-domain
Void InterruptArp32_intUnregister(UInt16 remoteProcId, IInterrupt_IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId InterruptArp32_Module_id();
// Get this module's unique id
 
Bool InterruptArp32_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle InterruptArp32_Module_heap();
// The heap from which this module allocates memory
 
Bool InterruptArp32_Module_hasMask();
// Test whether this module has a diagnostics mask
 
Bits16 InterruptArp32_Module_getMask();
// Returns the diagnostics mask for this module
 
Void InterruptArp32_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
 
XDCscript usage meta-domain sourced in ti/sdo/ipc/family/arctic/InterruptArp32.xdc
var InterruptArp32 = xdc.useModule('ti.sdo.ipc.family.arctic.InterruptArp32');
module-wide constants & types
    var obj = new InterruptArp32.IntInfo// ;
        obj.localIntId = UInt  ...
        obj.remoteIntId = UInt  ...
        obj.intVectorId = UInt  ...
module-wide config parameters
    InterruptArp32.mailboxBaseAddr//  = UInt32 0x4008B000;
 
 
 
struct InterruptArp32.IntInfo
XDCscript usage meta-domain
var obj = new InterruptArp32.IntInfo;
 
    obj.localIntId = UInt  ...
    obj.remoteIntId = UInt  ...
    obj.intVectorId = UInt  ...
 
C SYNOPSIS
 
config InterruptArp32.mailboxBaseAddr  // module-wide
XDCscript usage meta-domain
InterruptArp32.mailboxBaseAddr = UInt32 0x4008B000;
 
C SYNOPSIS
 
metaonly config InterruptArp32.common$  // module-wide

Common module configuration parameters

XDCscript usage meta-domain
InterruptArp32.common$ = Types.Common$ undefined;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
generated on Sat, 11 Feb 2012 00:37:47 GMT