Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostm8s103.h>
  2.  
  3. CLK_SWCR |= SWBSY; // to set the bit 0
  4.  
  5. CLK_SWCR &= ~SWBSY; // to reset the bit 0
  6.  
  7. volatile char CLK_SWCR @0x50c5; /* Switch Control reg */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement