UART_GET_DIVISOR

Section: 16x50 UART Driver (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

uart_get_divisor - return uart clock divisor  

SYNOPSIS

unsigned int uart_get_divisor(struct uart_port * port, unsigned int baud);
 

ARGUMENTS

port

uart_port structure describing the port.

baud

desired baud rate
 

DESCRIPTION

Calculate the uart clock divisor for the port.  

COPYRIGHT