at91_gpio.h

来自「AT91RM9200的嵌入式LINUX下GPIO驱动」· C头文件 代码 · 共 26 行

H
26
字号
/* *  AT91RM9200 GPIO 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_GPIO#define AT91_GPIO#define GPIO_NUM_PORTS 4  /* gpioa gpiob gpioc gpiod *//* private data per open() of this driver */struct gpio_private {  struct gpio_private *next;	/* These fields are for PA and PB only */  spinlock_t lock1;  /* some spinlocks for saving/restoring interrupt levels */  wait_queue_head_t gpio_wait;  int minor;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?