board_test run with lpc54114
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
#include "fsl_power.h"
|
||||
#include "fsl_iocon.h"
|
||||
|
||||
#define LED_PORT 1
|
||||
#define LED_PIN 10
|
||||
#define LED_PORT 0
|
||||
#define LED_PIN 29
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
// WAKE button
|
||||
@@ -39,14 +39,16 @@
|
||||
#define BUTTON_PIN 24
|
||||
|
||||
// IOCON pin mux
|
||||
#define IOCON_PIO_DIGITAL_EN 0x80u /*!< Enables digital function */
|
||||
#define IOCON_PIO_FUNC1 0x01u /*!< Selects pin function 1 */
|
||||
#define IOCON_PIO_FUNC7 0x07u /*!< Selects pin function 7 */
|
||||
#define IOCON_PIO_INPFILT_OFF 0x0100u /*!< Input filter disabled */
|
||||
#define IOCON_PIO_INV_DI 0x00u /*!< Input function is not inverted */
|
||||
#define IOCON_PIO_MODE_INACT 0x00u /*!< No addition pin function */
|
||||
#define IOCON_PIO_OPENDRAIN_DI 0x00u /*!< Open drain is disabled */
|
||||
#define IOCON_PIO_SLEW_STANDARD 0x00u /*!< Standard mode, output slew rate control is enabled */
|
||||
#define IOCON_PIO_DIGITAL_EN 0x80u /*!<@brief Enables digital function */
|
||||
#define IOCON_PIO_FUNC0 0x00u
|
||||
#define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */
|
||||
#define IOCON_PIO_FUNC7 0x07u /*!<@brief Selects pin function 7 */
|
||||
#define IOCON_PIO_INPFILT_OFF 0x0100u /*!<@brief Input filter disabled */
|
||||
#define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */
|
||||
#define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */
|
||||
#define IOCON_PIO_MODE_PULLUP 0x10u
|
||||
#define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */
|
||||
#define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
|
||||
|
||||
/****************************************************************
|
||||
name: BOARD_BootClockFROHF96M
|
||||
|
||||
Reference in New Issue
Block a user