AVR32 USARTs - PowerPoint PPT Presentation

About This Presentation
Title:

AVR32 USARTs

Description:

1 odd 1 1.5 bits 1 auto echo. 2 space 2 2 bits 2 local loopback. 3 mark 3 timeguard 3 remote loopback. 4 none ... – PowerPoint PPT presentation

Number of Views:69
Avg rating:3.0/5.0
Slides: 5
Provided by: dickst2
Category:
Tags: avr32 | loopback | usarts

less

Transcript and Presenter's Notes

Title: AVR32 USARTs


1
AVR32 USARTs
  • CS-423
  • Dick Steflik

2
Block Diagram
3
Options
struct usart_options_t unsigned long
baudrate unsigned char charlength
unsigned char paritytype unsigned short
stopbits unsigned char channelmode wher
e parity stop bits
channelmode 0 even
0 1 bit 0 normal
1 odd 1 1.5 bits 1
auto echo 2 space 2
2 bits 2 local loopback
3 mark 3 timeguard 3
remote loopback 4 none

4
Driver Functions
void usart_reset( volatile struct
avr32_usart_t usart) void
usart_init_rs232( volatile struct avr32_usart_t
usart, struct usart_options_t opt, long
cpu_hz)? int usart_send_addr(volatile struct
avr32_usart_t usart, int addr) int
usart_write_char(volatile struct avr32_usart_t
usart, int c) inline void usart_bw_write_char(v
olatile struct avr32_usart_t usart, int
c) int usart_putchar(volatile struct
avr32_usart_t usart, int c) int
usart_read_char(volatile struct avr32_usart_t
usart, int c) int usart_getchar(volatile
struct avr32_usart_t usart) void
usart_reset_status(volatile struct avr32_usart_t
usart)
Write a Comment
User Comments (0)
About PowerShow.com