refractor for device able to work on usb1 of lpc43xx. But could not get it work on EA4357
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user