在线时间2 小时
UID2076245
注册时间2014-3-1
NXP金币0
该用户从未签到
新手上路

- 积分
- 39
- 最后登录
- 1970-1-1
|
本帖最后由 小智MM 于 2016-5-5 16:08 编辑
我是用的是KL02处理器.
手册中既然说明了FGPIO是GPIO寄存器的别名,并且有单周期访问的特性,那么,是不是GPIO寄存器就没访问的必要,可以全部都访问FGPIO上,他们寄存器的表达是完全一样的.
The GPIO registers are also aliased to the IOPORT interface on the Cortex-M0+ from address 0xF800_0000. Accesses via the IOPORT interface occur in parallel with any instruction fetches and will therefore complete in a single cycle. This aliased Fast GPIO memory map is called FGPIO.
Any read or write access to the FGPIO memory space that is outside the valid memory map results in a bus error. All register accesses complete with zero wait states, except error accesses which complete with one wait state.
|
|