Comtrol eCos User Manual

Page 411

Advertising
background image

Chapter 18. Device Driver Interface to the Kernel

Result:

None

Description:

Deferred Service Routine prototype. A pointer to a function with this prototype is passed to

cyg_interrupt_create()

when an interrupt object is created. When the ISR requests the scheduling of its

DSR, this function will be called at some later point. In addition to the

vector

and

data

arguments, which

will be the same as those passed to the ISR, this routine is also passed a

count

of the number of times the

ISR has requested that this DSR be scheduled. This counter is zeroed each time the DSR actually runs, so it
indicates how many interrupts have occurred since it last ran.

307

Advertising