Discuz! Board
标题:
各位请教一下,开始学STM8,不理解0xA0这样的地址的如何设置的
[打印本页]
作者:
HUANG
时间:
2015-9-7 22:56
标题:
各位请教一下,开始学STM8,不理解0xA0这样的地址的如何设置的
GPIO_MODE_OUT_OD_LOW_FAST = (uint8_t)0xA0, /*!< Output open-drain, low level, 10MHz */
GPIO_MODE_OUT_PP_LOW_FAST = (uint8_t)0xE0, /*!< Output push-pull, low level, 10MHz */
GPIO_MODE_OUT_OD_LOW_SLOW = (uint8_t)0x80, /*!< Output open-drain, low level, 2MHz */
GPIO_MODE_OUT_PP_LOW_SLOW = (uint8_t)0xC0, /*!< Output push-pull, low level, 2MHz */
GPIO_MODE_OUT_OD_HIZ_FAST = (uint8_t)0xB0, /*!< Output open-drain, high-impedance level,10MHz */
GPIO_MODE_OUT_PP_HIGH_FAST = (uint8_t)0xF0, /*!< Output push-pull, high level, 10MHz */
GPIO_MODE_OUT_OD_HIZ_SLOW = (uint8_t)0x90, /*!< Output open-drain, high-impedance level, 2MHz */
GPIO_MODE_OUT_PP_HIGH_SLOW = (uint8_t)0xD0
作者:
admin
时间:
2015-9-9 14:41
官方芯片手册里芯片做的时候就分配的地址
欢迎光临 Discuz! Board (http://qfv8.com/)
Powered by Discuz! X3