/* | |
* Copyright 2017, NXP | |
* All rights reserved. | |
* | |
* | |
* SPDX-License-Identifier: BSD-3-Clause | |
* | |
*/ | |
#ifndef _PIN_MUX_H_ | |
#define _PIN_MUX_H_ | |
/******************************************************************************* | |
* Definitions | |
******************************************************************************/ | |
/*! @brief Direction type */ | |
typedef enum _pin_mux_direction | |
{ | |
kPIN_MUX_DirectionInput = 0U, /* Input direction */ | |
kPIN_MUX_DirectionOutput = 1U, /* Output direction */ | |
kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */ | |
} pin_mux_direction_t; | |
/*! | |
* @addtogroup pin_mux | |
* @{ | |
*/ | |
/******************************************************************************* | |
* API | |
******************************************************************************/ | |
#if defined(__cplusplus) | |
extern "C" { | |
#endif | |
/*! | |
* @brief Calls initialization functions. | |
* | |
*/ | |
void BOARD_InitBootPins(void); | |
/*! | |
* | |
*/ | |
void BOARD_InitPins(void); /* Function assigned for the Cortex-M4F */ | |
#if defined(__cplusplus) | |
} | |
#endif | |
/*! | |
* @} | |
*/ | |
#endif /* _PIN_MUX_H_ */ | |
/******************************************************************************* | |
* EOF | |
******************************************************************************/ |