-florian66-

test

Jan 11th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. void lect440()
  2. {
  3. unsigned char range = 1;
  4.  
  5.     if((0xE8C8E >> range) & 1)
  6.     {
  7.         if(isSH3())
  8.         {
  9.             *(volatile unsigned char*)SH7337_SCPDR ^= 0x01;
  10.         }
  11.         else
  12.         {
  13.             *(volatile unsigned char*)SH7305_PJDR ^= 0x04;
  14.         }
  15.     }
  16.     range = (range < 20 ? range + 1 : 1);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment