📄 stm32f10x_gpio.lst
字号:
329:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Reads the specified GPIO output data port.
330:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
331:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : GPIO output data port value.
332:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
333:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** uint16_t GPIO_ReadOutputData(GPIO_TypeDef* GPIOx)
334:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
279 .loc 1 334 0
280 @ args = 0, pretend = 0, frame = 0
281 @ frame_needed = 0, uses_anonymous_args = 0
282 @ link register save eliminated.
283 .LVL30:
335:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /* Check the parameters */
336:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
337:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
338:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** return ((uint16_t)GPIOx->ODR);
284 .loc 1 338 0
285 0000 C068 ldr r0, [r0, #12]
286 .LVL31:
339:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
287 .loc 1 339 0
288 0002 80B2 uxth r0, r0
289 0004 7047 bx lr
290 .LFE33:
292 0006 C046 .section .text.GPIO_SetBits,"ax",%progbits
293 .align 2
294 .global GPIO_SetBits
295 .thumb
296 .thumb_func
298 GPIO_SetBits:
299 .LFB34:
340:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
341:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /**
342:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Sets the selected data port bits.
343:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
344:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIO_Pin: specifies the port bits to be written.
345:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * This parameter can be any combination of GPIO_Pin_x where
346:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * x can be (0..15).
347:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : None
348:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
349:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** void GPIO_SetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
350:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
300 .loc 1 350 0
301 @ args = 0, pretend = 0, frame = 0
302 @ frame_needed = 0, uses_anonymous_args = 0
303 @ link register save eliminated.
304 .LVL32:
351:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /* Check the parameters */
352:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
353:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
354:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
355:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** GPIOx->BSRR = GPIO_Pin;
305 .loc 1 355 0
306 0000 0161 str r1, [r0, #16]
356:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
307 .loc 1 356 0
308 0002 7047 bx lr
309 .LFE34:
311 .section .text.GPIO_ResetBits,"ax",%progbits
312 .align 2
313 .global GPIO_ResetBits
314 .thumb
315 .thumb_func
317 GPIO_ResetBits:
318 .LFB35:
357:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
358:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /**
359:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Clears the selected data port bits.
360:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
361:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIO_Pin: specifies the port bits to be written.
362:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * This parameter can be any combination of GPIO_Pin_x where
363:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * x can be (0..15).
364:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : None
365:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
366:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** void GPIO_ResetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
367:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
319 .loc 1 367 0
320 @ args = 0, pretend = 0, frame = 0
321 @ frame_needed = 0, uses_anonymous_args = 0
322 @ link register save eliminated.
323 .LVL33:
368:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /* Check the parameters */
369:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
370:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
371:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
372:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** GPIOx->BRR = GPIO_Pin;
324 .loc 1 372 0
325 0000 4161 str r1, [r0, #20]
373:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
326 .loc 1 373 0
327 0002 7047 bx lr
328 .LFE35:
330 .section .text.GPIO_WriteBit,"ax",%progbits
331 .align 2
332 .global GPIO_WriteBit
333 .thumb
334 .thumb_func
336 GPIO_WriteBit:
337 .LFB36:
374:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
375:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /**
376:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Sets or clears the selected data port bit.
377:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
378:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIO_Pin: specifies the port bit to be written.
379:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * This parameter can be one of GPIO_Pin_x where x can be (0..15).
380:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param BitVal: specifies the value to be written to the selected bit.
381:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * This parameter can be one of the BitAction enum values:
382:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @arg Bit_RESET: to clear the port pin
383:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @arg Bit_SET: to set the port pin
384:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : None
385:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
386:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** void GPIO_WriteBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, BitAction BitVal)
387:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
338 .loc 1 387 0
339 @ args = 0, pretend = 0, frame = 0
340 @ frame_needed = 0, uses_anonymous_args = 0
341 @ link register save eliminated.
342 .LVL34:
388:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /* Check the parameters */
389:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
390:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GET_GPIO_PIN(GPIO_Pin));
391:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_BIT_ACTION(BitVal));
392:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
393:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** if (BitVal != Bit_RESET)
343 .loc 1 393 0
344 0000 0AB1 cbz r2, .L27
394:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
395:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** GPIOx->BSRR = GPIO_Pin;
345 .loc 1 395 0
346 0002 0161 str r1, [r0, #16]
347 0004 00E0 b .L29
348 .L27:
396:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
397:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** else
398:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
399:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** GPIOx->BRR = GPIO_Pin;
349 .loc 1 399 0
350 0006 4161 str r1, [r0, #20]
351 .L29:
400:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
401:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
352 .loc 1 401 0
353 0008 7047 bx lr
354 .LFE36:
356 000a C046 .section .text.GPIO_Write,"ax",%progbits
357 .align 2
358 .global GPIO_Write
359 .thumb
360 .thumb_func
362 GPIO_Write:
363 .LFB37:
402:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
403:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /**
404:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Writes data to the specified GPIO data port.
405:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
406:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param PortVal: specifies the value to be written to the port output
407:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * data register.
408:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : None
409:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
410:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** void GPIO_Write(GPIO_TypeDef* GPIOx, uint16_t PortVal)
411:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
364 .loc 1 411 0
365 @ args = 0, pretend = 0, frame = 0
366 @ frame_needed = 0, uses_anonymous_args = 0
367 @ link register save eliminated.
368 .LVL35:
412:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /* Check the parameters */
413:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
414:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
415:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** GPIOx->ODR = PortVal;
369 .loc 1 415 0
370 0000 C160 str r1, [r0, #12]
416:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** }
371 .loc 1 416 0
372 0002 7047 bx lr
373 .LFE37:
375 .section .text.GPIO_PinLockConfig,"ax",%progbits
376 .align 2
377 .global GPIO_PinLockConfig
378 .thumb
379 .thumb_func
381 GPIO_PinLockConfig:
382 .LFB38:
417:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ****
418:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** /**
419:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @brief Locks GPIO Pins configuration registers.
420:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.
421:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @param GPIO_Pin: specifies the port bit to be written.
422:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * This parameter can be any combination of GPIO_Pin_x where
423:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * x can be (0..15).
424:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** * @retval : None
425:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** */
426:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** void GPIO_PinLockConfig(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
427:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c **** {
383 .loc 1 427 0
384 @ args = 0, pretend = 0, frame = 0
385 @ frame_needed = 0, uses_anonymous_args = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -