BL4S200 User’s Manual
107
enableISR
int enableISR(int isr_handle, int enable)
FUNCTION DESCRIPTION
Enables or disables an interrupt handler.
PARAMETERS
isr_handle
index to the desired ISR
enable
non-zero enables the ISR,
zero disables the ISR
RETURN VALUE
0 — success.
-EINVAL
— invalid parameter given.
SEE ALSO
addISR, addISR_H, setIER, tickISR
tickISR
void tickISR(void)
FUNCTION DESCRIPTION
Polls the RIO chip(s) for ISR events if interrupts are not being used. Any enabled ISR
events will be passed to the appropriate ISR handler.
RETURN VALUE
None.
SEE ALSO
addISR, addISR_H, enableISR, setIER
electronic components distributor