Searched refs:cb (Results 1 – 11 of 11) sorted by relevance
57 ext_irq_cb_t cb; member83 ext_irqs[i].cb = NULL; in ext_irq_init()100 int32_t ext_irq_register(const uint32_t pin, ext_irq_cb_t cb) in ext_irq_register() argument107 ext_irqs[i].cb = cb; in ext_irq_register()113 if (NULL == cb) { in ext_irq_register()122 if (NULL == ext_irqs[i].cb) { in ext_irq_register()123 ext_irqs[i].cb = cb; in ext_irq_register()183 if (ext_irqs[middle].cb) { in process_ext_irq()184 ext_irqs[middle].cb(); in process_ext_irq()
258 tmp->cb(tmp); in timer_process_counted()
53 int32_t event_subscribe(struct event *const event, const event_id_t id, event_cb_t cb) in event_subscribe() argument59 ASSERT(event && cb && (id < EVENT_MAX_AMOUNT)); in event_subscribe()69 event->cb = cb; in event_subscribe()132 current->cb(id, data); in event_post()
89 event_cb_t cb; /*! Callback to be called when an event occurs */ member101 int32_t event_subscribe(struct event *const event, const event_id_t id, event_cb_t cb);
108 int32_t _ext_irq_init(void (*cb)(const uint32_t pin)) in _ext_irq_init()182 callback = cb; in _ext_irq_init()
77 int32_t _ext_irq_init(void (*cb)(const uint32_t pin));
92 int32_t ext_irq_register(const uint32_t pin, ext_irq_cb_t cb);
85 timer_cb_t cb; /*! Function pointer to the task. */ member
83 struct _i2c_s_async_callback cb; member
83 struct _i2c_m_async_callback cb; member
1239 i2c_dev->cb.error = (_i2c_error_cb_t)func; in _i2c_m_async_register_callback()1242 i2c_dev->cb.tx_complete = (_i2c_complete_cb_t)func; in _i2c_m_async_register_callback()1245 i2c_dev->cb.rx_complete = (_i2c_complete_cb_t)func; in _i2c_m_async_register_callback()