The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2024, 10:34:36 10:34


Login with username, password and session length


Pages: [1]
Print
Author Topic: what problem winavr?  (Read 3039 times)
0 Members and 1 Guest are viewing this topic.
kang2008
Guest
« on: April 11, 2008, 04:23:20 16:23 »

void uart_reset(uint8_t port,uint8_t bit)
{
    asm volatile ( "cbi %0, %1" "\n\t"          \
                   : /* no outputs */           \
                   : "I" (port),                \
                     "I" (bit)                  \
                 );
}      

uart.c:162: warning: asm operand 0 probably doesn't match constraints
uart.c:162: warning: asm operand 1 probably doesn't match constraints
uart.c:162: error: impossible constraint in 'asm'

what 's error in the winavr?

thank you.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC