Function pointer struct in main for run,init

This commit is contained in:
Christina Quast
2015-02-27 13:39:45 +01:00
parent 1edf350c34
commit fb524b9bb3
3 changed files with 44 additions and 46 deletions

View File

@@ -214,6 +214,13 @@ void Phone_Master_Init( void ) {
USART_SetTransmitterEnabled(USART_PHONE, 1);
USART_SetReceiverEnabled(USART_PHONE, 1);
/* Configure ISO7816 driver */
// FIXME: PIO_Configure(pPwr, PIO_LISTSIZE( pPwr ));
// FIXME: Or do I need to call VBUS_CONFIGURE() here instead, which will call USBD_Connect() later?
// USBD_Connect();
// FIXME: USB clock? USB PMC?
@@ -232,3 +239,12 @@ void Phone_Master_Init( void ) {
*/
}
void Phone_run( void )
{
// FIXME: Function Phone_run not implemented yet
/* Send and receive chars */
// ISO7816_GetChar(&rcv_char);
// ISO7816_SendChar(char_to_send);
}