GPIO寄存器描述
1、端口配置低寄存器(GPIOx_CRL)(x = A...E)
2、端口配置高寄存器(GPIOx_CRH)(x = A...E)
3、端口输入数据寄存器(GPIOx_IDR)(x = A...E)
这些位为只读并只能以字(16位)的形式读出。读出的值为对应I/O口的状态。
4、端口输出数据寄存器(GPIOx_ODR)(x = A...E)
只能以字(16bit)的形式操作,复位值全是0。写0即输出0,写1即输出1。
5、端口位设置/清除寄存器(GPIOx_BSRR)(x = A...E)
高16bit写1用于清0,低16bit写1用于置位,同时写1的话低16bi有效。
6、端口位清除寄存器(GPIOx_BRR)(x = A...E)
低16位写1用于置位。
7、端口配置锁定寄存器(GPIOx_LCKR)(x = A...E)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
OLED.rar (82个子文件)
Output
流水灯.hex 23KB
Template.hex 8KB
User
main.c 355B
OLED
OLED.h 2KB
OLED.c 28KB
OLED_SPI.c 3KB
OLEDFont.h 11KB
OLED_SPI.h 448B
printf
bsp_usart1.h 226B
bsp_usart1.c 2KB
Delay
Delay.h 231B
Delay.c 368B
stm32f10x_it.c 4KB
stm32f10x_conf.h 3KB
stm32f10x_it.h 2KB
LED
LED.c 1KB
LED.h 838B
Listing
Libraries
FWlib
inc
stm32f10x_spi.h 17KB
stm32f10x_crc.h 2KB
stm32f10x_tim.h 51KB
stm32f10x_usart.h 16KB
stm32f10x_dma.h 20KB
stm32f10x_fsmc.h 26KB
stm32f10x_i2c.h 29KB
stm32f10x_dac.h 15KB
stm32f10x_iwdg.h 4KB
misc.h 9KB
stm32f10x_bkp.h 7KB
stm32f10x_pwr.h 4KB
stm32f10x_dbgmcu.h 4KB
stm32f10x_exti.h 7KB
stm32f10x_can.h 27KB
stm32f10x_adc.h 21KB
stm32f10x_cec.h 6KB
stm32f10x_rcc.h 30KB
stm32f10x_rtc.h 4KB
stm32f10x_flash.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_wwdg.h 3KB
stm32f10x_gpio.h 20KB
src
stm32f10x_adc.c 46KB
stm32f10x_fsmc.c 35KB
misc.c 7KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_wwdg.c 6KB
stm32f10x_tim.c 107KB
stm32f10x_iwdg.c 5KB
stm32f10x_gpio.c 23KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_pwr.c 9KB
stm32f10x_crc.c 3KB
stm32f10x_dac.c 19KB
stm32f10x_sdio.c 28KB
stm32f10x_can.c 44KB
stm32f10x_bkp.c 8KB
stm32f10x_cec.c 11KB
stm32f10x_rtc.c 8KB
stm32f10x_usart.c 37KB
stm32f10x_i2c.c 45KB
stm32f10x_spi.c 30KB
stm32f10x_exti.c 7KB
stm32f10x_dma.c 29KB
CMSIS
system_stm32f10x.h 2KB
core_cm3.c 17KB
core_cm3.h 84KB
stm32f10x.h 619KB
startup
startup_stm32f10x_hd.s 15KB
startup_stm32f10x_ld.s 12KB
startup_stm32f10x_ld_vl.s 13KB
startup_stm32f10x_md.s 12KB
startup_stm32f10x_xl.s 16KB
startup_stm32f10x_md_vl.s 14KB
startup_stm32f10x_cl.s 15KB
startup_stm32f10x_hd_vl.s 15KB
system_stm32f10x.c 36KB
Doc
readme.txt 585B
keilkill.bat 399B
Project
RVMDK(uv4)
iSO-STM32.uvopt 16KB
iSO-STM32.uvgui.Administrator 146KB
iSO-STM32.uvproj 18KB
iSO-STM32.uvgui.fire 140KB
共 82 条
- 1
资源评论
Kinonoyomeo
- 粉丝: 72
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功