Function ast_set_callback()

Set callback for AST interrupts.

void ast_set_callback(
		Ast * ast,
		ast_interrupt_source_t source,
		ast_callback_t callback,
		uint8_t irq_line,
		uint8_t irq_level)

Table 1. Parameters
Data direction Parameter name Description

[in, out]

ast

Module hardware register base address pointer

[in]

source

AST interrupt source

[in]

callback

Callback function pointer

[in]

irq_line

Interrupt line

[in]

irq_level

Interrupt level