jak dzia³aj±, co robi± i do czego s³u¿± te dwa makra z tematu (programowanie AVR w C)?
_SFR_IO_ADR i _BV
Sep 28, 2007
1 Replies
identyfikator: 20040501 pisze:
Help do avr-libc (avr-libc-user-manual.pdf) - instaluje się razem z pakietem WinAVR, można też znaleźć w internecie. Szukaj szczegółów w rozdziale "What is all this _BV() stuff about?". Drugiego makra prawie nigdy nie będziesz potrzebował użyć ręcznie (może czasem we wstawkach asemblerowych) - zwraca adres danego rejestru.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required