interface ti.sdo.ipc.notifyDrivers.IInterrupt

Interface for the inter-processor interrupts

XDCspec summary sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
interface IInterrupt {  ...
// inherits xdc.runtime.IModule
XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
 
interface IInterrupt {
module-wide constants & types
    struct IntInfo//  {
        UInt localIntId;
        UInt remoteIntId;
        UInt intVectorId;
    };
module-wide config parameters
module-wide functions
    UInt intClear// Clear interrupt(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo);
    Void intEnable// Enables the interrupt corresponding to intId(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo);
    Void intRegister// Register an interrupt line to a remote processor(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo, Fxn func, UArg arg);
    Void intSend// Send interrupt to the remote processor(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo, UArg arg);
}
 
struct IInterrupt.IntInfo
XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
struct IntInfo {
    UInt localIntId;
    UInt remoteIntId;
    UInt intVectorId;
};
 
 
metaonly config IInterrupt.common$  // module-wide

Common module configuration parameters

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
metaonly config Types.Common$ common$;
 
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.
 
IInterrupt.intClear()  // module-wide

Clear interrupt

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
UInt 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
 
IInterrupt.intDisable()  // module-wide

Disables the interrupt corresponding to intId

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
Void intDisable(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
 
IInterrupt.intEnable()  // module-wide

Enables the interrupt corresponding to intId

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
Void intEnable(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
 
IInterrupt.intRegister()  // module-wide

Register an interrupt line to a remote processor

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
Void 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
 
IInterrupt.intSend()  // module-wide

Send interrupt to the remote processor

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
Void 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.
 
IInterrupt.intUnregister()  // module-wide

Unregister an interrupt line to a remote processor

XDCspec declarations sourced in ti/sdo/ipc/notifyDrivers/IInterrupt.xdc
Void intUnregister(UInt16 remoteProcId, IInterrupt.IntInfo *intInfo);
 
ARGUMENTS
remoteProcId — Remote MultiProc Id
intInfo — Information needed to configure interrupt line
generated on Sat, 11 Feb 2012 00:38:04 GMT