dim_free_intr()

Free allocated interrupts for a given device

Synopsis:

#include <dim.h>

errno_t dim_free_intr( dim_intr_cfg_t *intr_cfg );

Arguments:

intr_cfg
A pointer to the interrupt configuration structure, dim_intr_cfg_t. You must provide the nirq and a list of IRQs to be freed.

Library:

libdim

Use the -l dim option to qcc to link against this library.

Description:

The dim_free_intr() function frees the dynamic interrupts for a given device.

Returns:

EOK on success, or errno on failure.

Errors:

This function returns any of the errors from open() or MsgSendv(), or the following:
EINVAL
One of the input values aren't valid.
Page updated: