Changes between Version 3 and Version 4 of pic_device_api
- Timestamp:
- Jan 22, 2020, 4:08:46 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pic_device_api
v3 v4 13 13 This external peripheral does not execute I/O operations, but is just acting as a dynamically configurable interrupt router for another I/O operation. Therefore, ALMOS-MK does not use the PIC device waiting queue, but call directly the PIC driver blocking functions to dynamically configure the PIC component. 14 14 15 == B) Access Functions ==15 == B) Access functions == 16 16 17 === 1) '''void dev_pic_init'''( xptr_t xp_dev , uint32_t irq_nr ) === 17 * '''void dev_pic_init'''( xptr_t xp_dev , uint32_t irq_nr )''' 18 18 19 19 This function makes two initializations: … … 21 21 It is executed once in the kernel initialisation phase. 22 22 23 === 2) '''void dev_pic_bind_irq'''( uint32_t irq_id , cxy_t cxy , uint32_t wti_id ) === 23 * '''void dev_pic_bind_irq'''( uint32_t irq_id , cxy_t cxy , uint32_t wti_id )''' 24 24 25 25 This function link a WTI mailbox to the PIC input IRQ identified by its index, and unmask the selected input IRQ. … … 27 27 is the WTI mailbox index in cluster. 28 28 29 === 3) '''void dev_pic_unbind_irq'''( uint32_t irq_id ) === 29 * '''void dev_pic_unbind_irq'''( uint32_t irq_id )''' 30 30 31 This function mask aPIC input IRQ identified by its index. The <irq_id> argument is the input IRQ index.31 This function masks the PIC input IRQ identified by its index. The <irq_id> argument is the input IRQ index.