| 전자부품 데이터시트 검색엔진 |
|
UM0851 데이터시트(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 데이터시트(HTML) 34 Page - STMicroelectronics |
|
34 / 245 page ![]() Platform section UM0851 34/245 Doc ID 16604 Rev 2 description structure in the descriptor structures array. The descriptor structure contains status information and pointers to the interrupt flow method and the interrupt chip structure which are assigned to this interrupt. Whenever an interrupt triggers, the low level arch code calls into the generic interrupt code by calling desc->handle_irq(). This high level IRQ handling function only uses desc->chip primitives referenced by the assigned chip descriptor structure. The details of these primitives are covered in later sections. struct irq_desc { irq_flow_handler_t handle_irq; struct irq_chip *chip; struct msi_desc *msi_desc; void *handler_data; void *chip_data; struct irqaction *action;/* IRQ action list */ unsigned int status;/* IRQ status */ unsigned int depth;/* nested irq disables */ unsigned int wake_depth;/* nested wake enables */ unsigned int irq_count;/* For detecting broken IRQs */ unsigned int irqs_unhandled; unsigned long last_unhandled;/* Aging timer for unhandled count */ spinlock_t lock; #ifdef CONFIG_SMP cpumask_t affinity; unsigned int cpu; #endif #if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) cpumask_t pending_mask; #endif #ifdef CONFIG_PROC_FS struct proc_dir_entry*dir; #endif const char *name; } High level driver API The high level driver API normally used in device drivers consists of the following functions: ● request_irq() ● free_irq() ● disable_irq() ● enable_irq() ● disable_irq_nosync() (SMP only) ● synchronize_irq() (SMP only) ● set_irq_type() ● set_irq_wake() ● set_irq_data() ● set_irq_chip() ● set_irq_chip_data() The details of some of the most important APIs described above are covered in Section 3.2.5: VIC usage. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |