![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 118](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794118.webp)
GD32E23x User Manual
118
6.3.8.
GPIO locking function
The locking mechanism allows the IO configuration to be protected.
The protected registers are GPIOx_CTL, GPIOx_OMODE, GPIOx_OSPD, GPIOx_PUD,
GPIOx_AFSELy(y=0,1). It allows the I/O configuration to be frozen by the 32-bit locking
register (GPIOx_LOCK). When the special LOCK sequence has been applied on a port bit, it
is no longer able to modify the value of the port bit until the next reset. It should be
recommended to be used in the configuration of driving a power module.
6.3.9.
GPIO single cycle toggle function
GPIO could toggle the I/O output level in single AHB cycle by writing 1 to the corresponding
bit of GPIOx_TG register. The output signal frequency could up to the half of the AHB clock.