stm32f4/09-PlaySound/serial_output.c
Emmanuel BENOîT 017631b168 Added (non-functional) CS43L22 code
I just can't figure out what's wrong with it.
2012-11-13 18:39:13 +01:00

14 lines
317 B
C

#include "ch.h"
#include "hal.h"
#include "serial_output.h"
void soInit( void )
{
sdStart( &SERIALOUT_DRIVER , NULL );
palSetPadMode( SERIALOUT_TX_PORT , SERIALOUT_TX_PAD ,
PAL_MODE_ALTERNATE( SERIALOUT_AF ) );
palSetPadMode( SERIALOUT_RX_PORT , SERIALOUT_RX_PAD ,
PAL_MODE_ALTERNATE( SERIALOUT_AF ) );
}