Hardware Reference
In-Depth Information
23 main(int argc, char **argv) {
24
25 gpio_init(); /* Initialize GPIO access */
26 gpio_setalt(17, 3); /* GPIO 17 ALT = 3 */
27 gpio_setalt(30, 3); /* GPIO 3 0 ALT = 3 */
28 return 0;
29 }
30
31 /* End rtscts.c */
PL011 UART Features
The Broadcom BCM2835 ARM Peripherals manual states that the following features are
unsupported :
No Infrared Data Association (IrDA) support
No Serial InfraRed (SIR) protocol encoder/decoder (endec)
No direct memory access (DMA)
No support for signals DCD, DSR, DTR, and RI
The following features are supported, however:
Separate 16×8 transmit and 16×12 receive FIFO buffers
Programmable baud rate generator
False start-bit detection
Line-break generation and detection
Support of control functions CTS and RTS
Programmable hardware flow control
Fully programmable serial interface characteristics:
Data can be 5, 6, 7, or 8 bits.
Even, odd, mark, space, or no-parity bit generation and
detection.
1 or 2 stop-bit generation.
Baud rate generation, DC up to UARTCLK/16.
 
Search WWH ::




Custom Search