Forked repo of Platform Drivers- Analog Devices
Diff: irq_extra.h
- Revision:
- 20:26b1a4570f4b
- Parent:
- 17:af1f2416dd26
--- a/irq_extra.h Wed Sep 29 12:32:10 2021 +0100 +++ b/irq_extra.h Mon Nov 22 22:26:51 2021 +0530 @@ -74,7 +74,8 @@ uint32_t int_mode; // Interrupt mode (falling/rising etc) uint32_t ext_int_pin; // External Interrupt pin uint32_t ticker_period_usec; // Time period in usec for ticker event - void *int_obj_type; // Interrupt handling object + /* Application created peripheral object to attach/generate interrupt for (e.g. UART) */ + void *int_obj_type; } mbed_irq_init_param; /** @@ -85,8 +86,7 @@ uint32_t int_mode; // Interrupt mode (falling/rising etc) uint32_t ext_int_pin; // External Interrupt pin uint32_t ticker_period_usec; // Time period in usec for ticker event - void *int_obj_type; // Interrupt handling object - void *int_obj; // Interrupt object (e.g. InterruptIn) + void *int_obj; // Interrupt specific object (e.g. InterruptIn, Ticker) } mbed_irq_desc; #ifdef __cplusplus // Closing extern c