Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2016, 11:28:54 23:28


Login with username, password and session length


Pages: [1]
Print
Author Topic: what problem winavr?  (Read 997 times)
0 Members and 1 Guest are viewing this topic.
kang2008
Guest
« on: April 11, 2008, 05:23:20 17: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