c언어 알게된지 얼마안된 초보입니다. 도와주세요
로와
질문 제목 : 해석 좀 해주십시오. 이번에이것을 해석해야 수업을이해할수 있는데 어려워요질문 내용 : #include tiny2313.h
#include sleep.h
unsigned char key,count1,i;
unsigned long int temp;
void delay( unsigned int i)
{ while(--i) ;}
void shiftl( unsigned char k,unsigned long kk)
{ for(count1=0; count1=k; count1++)
{ temp=kk; temp=temp& 0x80000000;
if (temp==0x80000000)
{ portb.6=1; } //data
else { portb.6=0; } kk=1 ;
portb.7=0;portb.7=1;portb.7=1;portb.7=0; // clk
} delay(0xf);
portb.5=0;portb.5=1;portb.5=1;portb.5=0; // stb
delay(0xf);
}
void main(void)
{ ddrb=0xff; delay(0xff);
while(1)
{
delay(0xf);shiftl(18,0x3c314000); //tx
delay(0xf);shiftl(18,0x29f12000); //rx 10.7mhz
delay(0xf);shiftl(13,0x256c0000); //ref
delay(0xf);shiftl(12,0x00000000); //option
// tb31202 delay(0xf);shiftl(13,0x00000000); //option
sleep_enable();
powerdown();
}
}