at91_tc.h
来自「AT91RM9200的定时器驱动(linux2.4内核)」· C头文件 代码 · 共 30 行
H
30 行
/* * AT91RM9200 TC driver for use for high speed packet sending/receiving * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */#ifndef AT91_TC#define AT91_TC#define TC_NUM_PORTS 6 /* TC0, TC1, TC2, TC3, TC4, TC5 *//* private data per open() of this driver */struct tc_private { struct tc_private *next; AT91PS_TC p_tc; /* pointer to this Timer Counter */ AT91PS_TCB p_tcb; /* pointer to this Timer Counter Block */ /* These fields are for PA and PB only */ spinlock_t lock1; /* some spinlocks for saving/restoring interrupt levels */ int first_time_flag; wait_queue_head_t tc_wait; int minor; int irq;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?