summaryrefslogtreecommitdiff
path: root/platform/drivers/src/gpio_vf6xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/drivers/src/gpio_vf6xx.c')
-rw-r--r--platform/drivers/src/gpio_vf6xx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/drivers/src/gpio_vf6xx.c b/platform/drivers/src/gpio_vf6xx.c
index 5f9326c..637080a 100644
--- a/platform/drivers/src/gpio_vf6xx.c
+++ b/platform/drivers/src/gpio_vf6xx.c
@@ -86,14 +86,6 @@ void GPIO_WritePinOutput(GPIO_Type* base, uint32_t pin, gpio_pin_action_t pinVal
GPIO_PSOR_REG(base) &= ~(GPIO_OFFSET(pin)); /* Set pin output to low level.*/
}
-void GPIO_TogglePinOutput(GPIO_Type* base, uint32_t pin, gpio_pin_action_t pinVal)
-{
- if (pinVal == gpioPinSet)
- GPIO_PTOR_REG(base) |= GPIO_OFFSET(pin); /* Set pin output to high level.*/
- else
- GPIO_PTOR_REG(base) &= ~(GPIO_OFFSET(pin)); /* Set pin output to low level.*/
-}
-
/*******************************************************************************
* EOF
******************************************************************************/