Cygdrvcondbroadcast, Cygdrvinterruptcreate, Cyg_drv_interrupt_create – Comtrol eCos User Manual

Page 403: Cyg_drv_cond_broadcast

Advertising
background image

Chapter 18. Device Driver Interface to the Kernel

cyg_drv_cond_broadcast

Function:

void cyg_drv_cond_broadcast( cyg_drv_cond *cond )

Arguments:

cond

- condition variable to broadcast to

Result:

None

Level:

DSR

Description:

Signal the condition variable pointed to by the

cond

argument. If there are any threads waiting on this variable

they will all be awakened.

cyg_drv_interrupt_create

Function:

void cyg_drv_interrupt_create( cyg_vector_t vector,

cyg_priority_t priority,

cyg_addrword_t data,

cyg_ISR_t *isr,

cyg_DSR_t *dsr,

cyg_handle_t *handle,

cyg_interrupt *intr

)

Arguments:

vector

- vector to attach to

priority

- queuing priority

data

- data pointer

isr

- interrupt service routine

dsr

- deferred service routine

handle

- returned handle

intr

- put interrupt object here

Result:

None

299

Advertising