Download Stellaris Peripheral Driver Library User's Guide

Transcript
Low Pin Count Interface (LPC)
Description:
This function will clear the handler to be called when an LPC interrupt occurs. This will also
mask off the interrupt in the interrupt controller so that the interrupt handler no longer is called.
See also:
IntRegister() for important information about registering interrupt handlers.
Returns:
None.
17.2.1.29 LPCIRQClear
Clear the manual LPC IRQ bits.
Prototype:
void
LPCIRQClear(unsigned long ulBase,
unsigned long ulIRQ)
Parameters:
ulBase specifies the LPC module base address.
ulIRQ specifies the IRQ bits that should be cleared.
Description:
This function clears the IRQ bits that are sent in the SERIRQ frame. The value in the ulIRQ
register is OR-ed into the existing manual IRQ setting. The value for the ulIRQ parameter can be any combination of the following values: LPC_IRQ15, LPC_IRQ14, LPC_IRQ13,
LPC_IRQ12, LPC_IRQ11, LPC_IRQ10, LPC_IRQ9, LPC_IRQ8, LPC_IRQ7, LPC_IRQ6,
LPC_IRQ5, LPC_IRQ4, LPC_IRQ3, LPC_IRQ2, LPC_IRQ1, or LPC_IRQ0.
Returns:
None.
17.2.1.30 LPCIRQConfig
Configure the LPC IRQ operation.
Prototype:
void
LPCIRQConfig(unsigned long ulBase,
tBoolean bIRQPulse,
tBoolean bIRQOnChange)
Parameters:
ulBase is the base address of the LPC module.
bIRQPulse is a flag to indicate the manual IRQ bits should be cleared after they have been
sent (in an SIRQ frame).
bIRQOnChange is a flag to indicate that an SIRQ frame should be sent whenever any IRQ
bits (manual/auto) change status.
September 09, 2011
261