可查阅固件库函数,如下摘抄的:
GPIOD->LCKR = 0x00010000;//Write 1
/* Reset LCKK bit */
GPIOD->LCKR = (uint32_t)0x00000000;//Write 0
/* Set LCKK bit */
GPIOD->LCKR = (uint32_t)0x00010000;//Write 1
/* Read LCKK bit*/
tmp = GPIOD->LCKR;//Read 0
/* Read LCKK bit*/
tmp = GPIOD->LCKR;
可查阅固件库函数,如下摘抄的:
GPIOD->LCKR = 0x00010000;//Write 1
/* Reset LCKK bit */
GPIOD->LCKR = (uint32_t)0x00000000;//Write 0
/* Set LCKK bit */
GPIOD->LCKR = (uint32_t)0x00010000;//Write 1
/* Read LCKK bit*/
tmp = GPIOD->LCKR;//Read 0
/* Read LCKK bit*/
tmp = GPIOD->LCKR;
举报