Author | Stef Mientki Copyright © 2002..2010, all rights reserved. |
Adapted-by | Sebastien Lelong, Joep Suijs, Rob Hamerling |
Compiler | 2.4o |
USART2 common functions This file provides common functions to other libraries. . Baudrate can simply be set through a constant in the application program, because the baudrate depending registers are calculated by this unit. Baudrate is calculated, starting at the high baudrate flag, which will ensure the highest possible accuracy.
No dependency found
_calculate_and_set_baudrate2()
Title: Calculate and set baudrate Arguments: (none) Returns: (nothing) Notes: - Uses externally defined constant 'serial_hw_baudrate' to set baudrate registers and corresponding control bits Uses bit-constant 'usart_hw_serial' to determine mode of operation: * TRUE: Asynchronous communications (default) * FALSE: Synchronous communications