Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

LabVIEW-Based Interrupt Service Routines: OEM_LVISR.c (Embedded Development Module)

LabVIEW Microprocessor SDK 2.5 Help
August 2007

NI Part Number:
372197A-01

»View Product Info

OEM_LVISR.c implements LabVIEW-based ISRs. OEM_LVISR.c contains the following functions:

OEMISRBoilerPlate(int param)

Purpose: Finds the ISR VI in the lookup table that param indexes.

InitOEMISRs(), UninitOEMISRs()

Purpose: Called from LVEmbeddedMain.c to initialize and tear down ISR VIs.

OEMISRRegisterHandler(uInt32 isr_vector, uInt32 isr_param, ISRFunc isr_runFunc, uInt32 *register_param)

Purpose: Searches for an empty slot in the lookup table, places ISRFunc in the table, and returns the index of the slot in the lookup table.

OEMISRUnregisterHandler(uInt32 isr_vector, uInt32 isr_param, ISRFunc isr_runFunc, uInt32 *register_param)

Purpose: Removes the ISR VI from the lookup table.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit