---
name: "uart_get_divisor"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/uart_get_divisor"
---

# uart\_get\_divisor(9)

return uart clock divisor

## 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
