Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: USART AT91 for smartcard
PostPosted: Fri May 09, 2008 8:00 am 
Offline

Joined: Tue Dec 25, 2007 2:06 pm
Posts: 3
Location: kanpur
hi
I am developing smartcard reader using usart of AT91SAM9261 board I have written a new driver file for driver but ad the atmel_serial is configuring all the usarts in its code and registering it . I need usart 1 and usart2 for my driver how can I take out usart1 and usart2 from atmel_serial and give it to my driver I think there might be some change in the
static struct at91_uart_config __initdata ek_uart_config = {
.console_tty = 0, /* ttyS0 */
.nr_tty = 1,
.tty_map = { 3, -1, -1, -1 } /* ttyS0, ..., ttyS3 */
}
in the code of atmel_serial it is registering DGBU only (as I understood )
so how can I take out 2 rest usart from that and use it in my code

thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: