refractor for device able to work on usb1 of lpc43xx. But could not get it work on EA4357

This commit is contained in:
hathach
2013-11-06 14:20:45 +07:00
parent b2b53e61fb
commit 58b41a05db
7 changed files with 148 additions and 137 deletions

View File

@@ -134,24 +134,4 @@ uint8_t board_uart_getchar(void)
}
#endif
/******************************************************************************
*
* Description:
* Initialize the trim potentiometer, i.e. ADC connected to TrimPot on
* Base Board.
*
*****************************************************************************/
//void trimpot_init(void)
//{
// // pinsel for AD0.3 on p7.5
// scu_pinmux( 7 , 5 , PDN_DISABLE | PUP_DISABLE | INBUF_DISABLE, 0 );
// LPC_SCU->ENAIO0 |= (1<<3);
//
// ADC_Init(LPC_ADC0, 400000, 10);
//
// ADC_IntConfig(LPC_ADC0, ADC_ADINTEN2, DISABLE);
// ADC_ChannelCmd(LPC_ADC0, ADC_CH_TRIMPOT, ENABLE);
//}
#endif