| 数据搜索系统,热门电子元器件搜索 |
|
AN4141 数据表(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 数据表(HTML) 31 Page - STMicroelectronics |
|
31 / 42 page ![]() DocID023425 Rev 2 31/42 AN4141 HAL to StdPeriph_Lib list of changes The STM32W108 has four externals interrupts lines: EXTIA, EXTIB, EXTIC and EXTID. These names are equivalent to IRQA, IRQB, IRQC and IRQD, respectively, in the HAL library. Using EXTI_InitStruct, the user can configure the desired line on which he wants to generate an interrupt. Function EXTI_GetITStatus gives the status of interrupt of a specified line. The StdPeriph functions cover the HAL code that manages these interrupts. The StdPeriph and HAL are not fully compliant. Table 17. STM32W108xx GPIO driver overview HAL StdPeriph_Driver Functionality description halGpioConfig() GPIO_StructInit() Initializes the GPIOx peripheral according to the specified parameters halGpioSet() GPIO_SetBits() GPIO_ResetBits() Sets/clears single GPIO bit NA GPIO_ReadInputDataBit() Reads the specified input port pin NA GPIO_ReadInputData() Reads the specified GPIO input data port NA GPIO_ReadOutputDataBit() Reads the specified output data port bit NA GPIO_ReadOutputData() Reads the specified GPIO output data port NA GPIO_WriteBit() Sets or clears the selected data port bit NA GPIO_Write() Writes data to the specified GPIO data port NA GPIO_DebugInterfaceCmd() Enables or disables the debug interface NA GPIO_ExternalOverrideCmd() Enables or disables the REG_EN override of PA7's normal GPIO configuration NA FlagStatus GPIO_GetDebugFlagStatus() Checks whether the specified GPIO debug flag is set or not NA GPIO_DeInit(); Deinitializes the GPIOx peripheral registers to their default reset values Table 18. STM32W108xx EXTI driver overview StdPeriph_Driver API Functionality description EXTI_DeInit() Deinitializes the EXTI_IRQn line registers to their default reset values EXTI_Init() Initializes the EXTI peripheral according to the specified parameters EXTI_StructInit() Fills each EXTI_InitStruct member with its reset value ITStatus EXTI_GetITStatus() Checks whether the specified EXTI line is asserted or not EXTI_ClearITPendingBit() Clears the EXTI's line pending bits |
|
链接网址 |
| 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 |