/* General Purpose Input/Outputs Unlock The Commit Control. 
Unlocks the commit control of the given pin or group of pins. If a pin is a JTAG/SWD or NMI, the pin may then be reconfigured as a GPIO pin. If the pin is not locked by default, this has no effect. */
void gpio_unlock_commit(uint32_t gpioport, uint8_t gpios)
/* General Purpose Input/Outputs Unlock The Commit Control. 
Unlocks the commit control of the given pin or group of pins. If a pin is a JTAG/SWD or NMI, the pin may then be reconfigured as a GPIO pin. If the pin is not locked by default, this has no effect. */
void gpio_unlock_commit(uint32_t gpioport, uint8_t gpios)
{
	GPIO_LOCK(gpioport) = GPIO_LOCK_UNLOCK_CODE;
	GPIO_CR(gpioport) |= gpios;
	GPIO_LOCK(gpioport) = ~GPIO_LOCK_UNLOCK_CODE;
}