1.6.4.4.2 Function ac_win_set_config()
Function used to setup interrupt selection of a window.
enum status_code ac_win_set_config( struct ac_module *const module_inst, enum ac_win_channel const win_channel, struct ac_win_config *const config)
This function is used to setup when an interrupt should occur for a given window.
Note: This must be done before enabling the channel.
Data direction | Parameter name | Description |
---|---|---|
[in] | module_inst |
Pointer to software instance struct |
[in] | win_channel |
Window channel to setup |
[in] | config |
Configuration for the given window channel |
Return value | Description |
---|---|
STATUS_OK |
Function exited successful |
STATUS_ERR_INVALID_ARG |
win_channel argument incorrect |