Configure LPC43xx for GP_CLKIN input.

This commit is contained in:
Jared Boone
2013-12-31 20:07:11 -08:00
parent 1bec883f80
commit 0ddb4cb7f2
2 changed files with 3 additions and 1 deletions

View File

@ -614,7 +614,7 @@ void pin_setup(void) {
scu_pinmux(SCU_SSP1_SSEL, (SCU_SSP_IO | SCU_CONF_FUNCTION1));
/* Configure external clock in */
//scu_pinmux(P4_7, SCU_CLK_IN | SCU_CONF_FUNCTION1);
scu_pinmux(SCU_PINMUX_GP_CLKIN, SCU_CLK_IN | SCU_CONF_FUNCTION1);
sgpio_configure_pin_functions();
}

View File

@ -198,6 +198,8 @@ extern "C"
#define SCU_PINMUX_ISP (P2_7) /* GPIO0[7] */
#define SCU_PINMUX_GP_CLKIN (P4_7)
/*
* GPIO Pins
*/