Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EVAL-CN0535-FMCZ EVAL-CN0535-FMCZ EVAL-AD568x-AD569x EVAL-AD7606 ... more
irq.cpp File Reference
Implementation of Interrupt Mbed platform driver interfaces. More...
Go to the source code of this file.
Functions | |
static void | mbed_ext_int_id1_callback (void) |
Mbed callback function for external interrupt ID1 event. | |
static void | mbed_ext_int_id2_callback (void) |
Mbed callback function for external interrupt ID2 event. | |
static void | mbed_ext_int_id3_callback (void) |
Mbed callback function for external interrupt ID3 event. | |
static void | mbed_ext_int_id4_callback (void) |
Mbed callback function for external interrupt ID4 event. | |
static void | mbed_ext_int_id5_callback (void) |
Mbed callback function for external interrupt ID5 event. | |
static void | mbed_uart_rx_id1_callback (void) |
Mbed callback function for UART Rx ID1 event. | |
static void | mbed_ticker_id_callback (void) |
Mbed callback function for ticker ID event. | |
int32_t | irq_ctrl_init (struct irq_ctrl_desc **desc, const struct irq_init_param *param) |
Initialized the controller for the peripheral interrupts. | |
int32_t | irq_ctrl_remove (struct irq_ctrl_desc *desc) |
Free the resources allocated by irq_ctrl_init() | |
int32_t | irq_register_callback (struct irq_ctrl_desc *desc, uint32_t irq_id, struct callback_desc *callback_desc) |
Registers a IRQ callback function to irq controller. | |
int32_t | irq_unregister (struct irq_ctrl_desc *desc, uint32_t irq_id) |
Unregister a IRQ callback function. | |
int32_t | irq_enable (struct irq_ctrl_desc *desc, uint32_t irq_id) |
Enable specific interrupt. | |
int32_t | irq_disable (struct irq_ctrl_desc *desc, uint32_t irq_id) |
Disable specific interrupt. |
Detailed Description
Implementation of Interrupt Mbed platform driver interfaces.
Copyright (c) 2020-2021 Analog Devices, Inc. All rights reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
Definition in file irq.cpp.
Function Documentation
int32_t irq_ctrl_init | ( | struct irq_ctrl_desc ** | desc, |
const struct irq_init_param * | param | ||
) |
int32_t irq_ctrl_remove | ( | struct irq_ctrl_desc * | desc ) |
Free the resources allocated by irq_ctrl_init()
- Parameters:
-
desc[in,out] - Interrupt controller descriptor.
- Returns:
- SUCCESS in case of success, FAILURE otherwise.
int32_t irq_disable | ( | struct irq_ctrl_desc * | desc, |
uint32_t | irq_id | ||
) |
int32_t irq_enable | ( | struct irq_ctrl_desc * | desc, |
uint32_t | irq_id | ||
) |
int32_t irq_register_callback | ( | struct irq_ctrl_desc * | desc, |
uint32_t | irq_id, | ||
struct callback_desc * | callback_desc | ||
) |
Registers a IRQ callback function to irq controller.
- Parameters:
-
desc[in] - The IRQ controller descriptor. irq_id[in] - Interrupt identifier. callback_desc - Descriptor of the callback. If it is NULL, the callback will be unregistered
- Returns:
- SUCCESS in case of success, FAILURE otherwise.
int32_t irq_unregister | ( | struct irq_ctrl_desc * | desc, |
uint32_t | irq_id | ||
) |
static void mbed_ext_int_id1_callback | ( | void | ) | [static] |
static void mbed_ext_int_id2_callback | ( | void | ) | [static] |
static void mbed_ext_int_id3_callback | ( | void | ) | [static] |
static void mbed_ext_int_id4_callback | ( | void | ) | [static] |
static void mbed_ext_int_id5_callback | ( | void | ) | [static] |
static void mbed_ticker_id_callback | ( | void | ) | [static] |
Generated on Wed Jul 13 2022 14:37:51 by
