| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 65 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 65 Page - STMicroelectronics |
|
65 / 229 page ![]() UM0097 Peripheral firmware overview 65/229 EIC_FIQPendingBitClear Example: This example shows how to use of the EIC_FIQPendingBitClear function in the FIQ interrupts service routine to define the source of FIQ interrupts. void FIQ_Handler(void) { TIM0->SR &= ~0x2000; /* Clear the Timer 0 interrupt flag */ /* Clear the corresponding FIQ pending bit */ EIC_FIQPendingBitClear(T0TIMI_FIQChannel); } 3.5 General purpose input output (GPIO) The GPIO driver may be used for several purposes, including pin configuration, reading a port pin and writing data into the port pin. The first section describes the data structure used in the GPIO firmware library. The second section presents the GPIO firmware library functions. 3.5.1 Data structures GPIO register structure The GPIO peripheral register structure GPIO_TypeDef is defined in the file 71x_map.h as follows: typedef struct { vu16 PC0; vu16 EMPTY1; vu16 PC1; vu16 EMPTY2; vu16 PC2; vu16 EMPTY3; Function Name EIC_FIQPendingBitClear Function Prototype void EIC_FIQPendingBitClear(FIQChannel_TypeDef FIQChannel); Behavior Description Clears the selected FIQ Pending bit located in FIR register by writing 1 to the corresponding bit. Input Parameter FIQChannel: specifies the FIQ channel to be configured. Refer to FIQ channel enumeration on page 55 for details on allowed values of FIQChannel parameter. Output Parameter None Return Value None Required Preconditions None Called Functions None See also EIC_CurrentFIQChannelValue on page 64 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |