A GPIO pin can be configured as a general input, output, or one of several alternate functions. When used as input, a GPIO pin can also be set up as an interrupt source, and a subset of GPIOs are capable of generating interrupts that can bring an MSMTM out of deep sleep (XO shutdown or VDD minimization). Also, GPIO can be configured to have internal pull (up, down, or no-pull) circuits and different driving strength.
The GPIO, or the Top-Level Module Multiplex (TLMM) driver is built on top of the Hardware Abstraction Layer (HAL) framework.
In the new software architecture, HAL provides a layer that insulates the drivers from the details of the underlying hardware design. Moreover, a Device Abstraction Layer (DAL) is also placed between the driver code and application code to provide similar insulation between the device drivers and application software.
可参考的博文总结:

最低0.47元/天 解锁文章
2732

被折叠的 条评论
为什么被折叠?



