mbed
Fork of mbed-dev by
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/Pad.c
- Revision:
- 150:02e0a0aed4ec
- Parent:
- 149:156823d33999
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/Pad.c Fri Oct 28 11:17:30 2016 +0100 +++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/Pad.c Tue Nov 08 17:45:16 2016 +0000 @@ -1,4 +1,3 @@ -#ifdef REVD /** ****************************************************************************** * @file pad.c @@ -83,20 +82,20 @@ PADREG->PADIO1.WORD = PAD_INPUT_PD_L1_PP; /* UART1 RXD */ PADREG->PADIO2.WORD = PAD_INPUT_PD_L1_PP; /* UART1 CTS */ PADREG->PADIO3.WORD = PAD_OUTPUT_PN_L1_OD; /* UART1 RTS */ - PADREG->PADIO4.WORD = PAD_UNUSED_PD_L0_PP; - PADREG->PADIO5.WORD = PAD_UNUSED_PD_L0_PP; - PADREG->PADIO6.WORD = PAD_UNUSED_PD_L0_PP; - PADREG->PADIO7.WORD = PAD_UNUSED_PD_L0_PP; + PADREG->PADIO4.WORD = PAD_UNUSED_PD_L1_PP; + PADREG->PADIO5.WORD = PAD_UNUSED_PD_L1_PP; + PADREG->PADIO6.WORD = PAD_UNUSED_PD_L1_PP; + PADREG->PADIO7.WORD = PAD_UNUSED_PD_L1_PP; PADREG->PADIO8.WORD = PAD_OUTPUT_PN_L1_OD; /* UART2 TXD */ PADREG->PADIO9.WORD = PAD_INPUT_PD_L1_PP; /* UART2 RXD */ - PADREG->PADIO10.WORD = PAD_UNUSED_PD_L0_PP; + PADREG->PADIO10.WORD = PAD_UNUSED_PD_L1_PP; PADREG->PADIO11.WORD = PAD_INPUT_PD_L1_PP; /* SWO */ PADREG->PADIO12.WORD = PAD_INPUT_PD_L1_PP; /* SWCLK */ PADREG->PADIO13.WORD = PAD_INPUT_PD_L1_PP; /* SWDIO */ PADREG->PADIO14.WORD = PAD_INPUT_PD_L1_PP; - PADREG->PADIO15.WORD = PAD_UNUSED_PD_L0_PP; - PADREG->PADIO16.WORD = PAD_UNUSED_PD_L0_PP; - PADREG->PADIO17.WORD = PAD_UNUSED_PD_L0_PP; + PADREG->PADIO15.WORD = PAD_UNUSED_PD_L1_PP; + PADREG->PADIO16.WORD = PAD_UNUSED_PD_L1_PP; + PADREG->PADIO17.WORD = PAD_UNUSED_PD_L1_PP; /** - Disable the clock for PAD peripheral device */ CLOCK_DISABLE(CLOCK_PAD); @@ -142,5 +141,4 @@ } /* Invalid parameter/s */ return False; -} -#endif /* REVD */ +} \ No newline at end of file