blob: b8e4fbf47d53bb5c5f4d622a1c5c2d2479edb4cb [file] [log] [blame]
/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Board configuration macros for the nxp_mcxw2x platform
*
* This header file is used to specify and describe board-level aspects for the
* 'nxp_mcxw2x' platform.
*/
#ifndef _SOC__H_
#define _SOC__H_
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#include <fsl_power.h>
#include <soc_common.h>
#endif /* !_ASMLANGUAGE */
#define IOCON_PIO_DIGITAL_EN 0x0100u /*!&lt;@brief Enables digital function */
#define IOCON_PIO_FUNC0 0x00u /*!&lt;@brief Selects pin function 0 */
#define IOCON_PIO_FUNC1 0x01u /*!&lt;@brief Selects pin function 1 */
#define IOCON_PIO_FUNC2 0x02u /*!&lt;@brief Selects pin function 2 */
#define IOCON_PIO_FUNC4 0x04u /*!&lt;@brief Selects pin function 4 */
#define IOCON_PIO_FUNC5 0x05u /*!&lt;@brief Selects pin function 5 */
#define IOCON_PIO_FUNC6 0x06u /*!&lt;@brief Selects pin function 6 */
#define IOCON_PIO_FUNC7 0x07u /*!&lt;@brief Selects pin function 7 */
#define IOCON_PIO_FUNC9 0x09u /*!&lt;@brief Selects pin function 9 */
#define IOCON_PIO_FUNC10 0x0Au /*!&lt;@brief Selects pin function 10 */
#define IOCON_PIO_FUNC11 0x0Bu /*!&lt;@brief Selects pin function 11 */
#define IOCON_PIO_INV_DI 0x00u /*!&lt;@brief Input function not inverted */
#define IOCON_PIO_MODE_INACT 0x00u /*!&lt;@brief No addition pin function */
#define IOCON_PIO_OPENDRAIN_DI 0x00u /*!&lt;@brief Open drain is disabled */
#define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard slew rate mode */
#define IOCON_PIO_SLEW_FAST 0x40u /*!&lt;@brief Fast slew rate mode */
#define IOCON_PIO_MODE_PULLDOWN 0x10u /*!<@brief Selects pull-down function */
#define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */
#define nbu_handler BLE_LL_IRQHandler
#endif /* _SOC__H_ */