kinetis: GPIO workaround for missing open drain support

This commit is contained in:
Joakim Nohlgård 2017-03-22 09:00:50 +01:00
parent a196bb431d
commit 2b64452c33

View File

@ -31,6 +31,11 @@
#include "bit.h"
#include "periph/gpio.h"
#ifndef PORT_PCR_ODE_MASK
/* For compatibility with Kinetis CPUs without open drain GPIOs (e.g. KW41Z) */
#define PORT_PCR_ODE_MASK 0
#endif
/**
* @brief Get the OCR reg value from the gpio_mode_t value
*/