mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Convert some serial drivers to use use irq_attach.
This commit is contained in:
parent
b651e73057
commit
4cd31be19d
10 changed files with 50 additions and 211 deletions
|
|
@ -138,7 +138,7 @@ struct cc3000_config_s
|
|||
* probe - Debug support
|
||||
*/
|
||||
|
||||
int (*irq_attach)(FAR struct cc3000_config_s *state, xcpt_t isr);
|
||||
int (*irq_attach)(FAR struct cc3000_config_s *state, xcpt_t isr, FAR void *arg);
|
||||
void (*irq_enable)(FAR struct cc3000_config_s *state, bool enable);
|
||||
void (*irq_clear)(FAR struct cc3000_config_s *state);
|
||||
void (*power_enable)(FAR struct cc3000_config_s *state,bool enable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue