Skip to content
Snippets Groups Projects
Commit 18908667 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

kinetis: Make open drain GPIO availability depend on CPU header

parent a7f06f8c
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,9 @@ typedef enum {
GPIO_AF_5 = PORT_PCR_MUX(5), /**< use alternate function 5 */
GPIO_AF_6 = PORT_PCR_MUX(6), /**< use alternate function 6 */
GPIO_AF_7 = PORT_PCR_MUX(7), /**< use alternate function 7 */
#ifdef PORT_PCR_ODE_MASK
GPIO_PCR_OD = (PORT_PCR_ODE_MASK), /**< open-drain mode */
#endif
GPIO_PCR_PD = (PORT_PCR_PE_MASK), /**< enable pull-down */
GPIO_PCR_PU = (PORT_PCR_PE_MASK | PORT_PCR_PS_MASK) /**< enable PU */
} gpio_pcr_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment