use gossamer GPIO calls here
This commit is contained in:
@@ -32,9 +32,8 @@ void _watch_init(void) {
|
|||||||
watch_disable_digital_output(GPIO(GPIO_PORTA, 20));
|
watch_disable_digital_output(GPIO(GPIO_PORTA, 20));
|
||||||
|
|
||||||
// disable debugger hot-plugging
|
// disable debugger hot-plugging
|
||||||
gpio_set_pin_function(SWCLK, GPIO_PIN_FUNCTION_OFF);
|
HAL_GPIO_SWCLK_pmuxdis();
|
||||||
gpio_set_pin_direction(SWCLK, GPIO_DIRECTION_OFF);
|
HAL_GPIO_SWCLK_off();
|
||||||
gpio_set_pin_pull_mode(SWCLK, GPIO_PULL_OFF);
|
|
||||||
|
|
||||||
// RAM should be back-biased in STANDBY
|
// RAM should be back-biased in STANDBY
|
||||||
PM->STDBYCFG.bit.BBIASHS = 1;
|
PM->STDBYCFG.bit.BBIASHS = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user