AnsweredAssumed Answered

Specifying the baudrate in UrtCfg( )

Question asked by EckartH on Aug 3, 2012
Latest reply on Aug 14, 2012 by EckartH

For the ADuCM360 the header starts as shown below.  This seems to only allow specific baudrates.  What should I do if I wish to use a different baudrate?





@brief int UrtCfg(ADI_UART_TypeDef *pPort, int iBaud, int iBits, int iFormat)

==========Configure the UART.

@param pPort :{pADI_UART,} \n

Set to pADI_UART. Only one channel available.

@param iBaud :{B1200,B2200,B2400,B4800,B9600,B19200,B38400,B57600,B115200,B230400,B430800} \n

Set iBaud to the baudrate required:

Values usually: 1200, 2200 (for HART), 2400, 4800, 9600,

        19200, 38400, 57600, 115200, 230400, 430800