⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at91_tc.h

📁 AT91RM9200的定时器驱动(linux2.4内核)
💻 H
字号:
/* *  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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -