Blame | Last modification | View Log | Download | RSS feed
ifndef __usimb8inc__usimb8inc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File USIMB8.INC *;* *;* Contains Bit & Register Definitions for ATmega USI Interface @ 0xb8 *;* *;****************************************************************************USIDR sfr 0xba ; USI Data RegisterUSISR sfr 0xb9 ; USI Status RegisterUSICNT0 avrbit USISR,0 ; Counter ValueUSICNT1 avrbit USISR,1USICNT2 avrbit USISR,2USICNT3 avrbit USISR,3USIDC avrbit USISR,4 ; Data Output CollisionUSIPF avrbit USISR,5 ; Stop Condition FlagUSIOIF avrbit USISR,6 ; Counter Overflow Interrupt FlagUSISIF avrbit USISR,7 ; Start Condition Interrupt FlagUSICR sfr 0xb8 ; USI Control RegisterUSITC avrbit USICR,0 ; Toggle Clock Port PinUSICLK avrbit USICR,1 ; Clock StrobeUSICS0 avrbit USICR,2 ; Clock Source SelectUSICS1 avrbit USICR,3USIWM0 avrbit USICR,4 ; Wire ModeUSIWM1 avrbit USICR,5USIOIE avrbit USICR,6 ; Counter Overflow Interrupt EnableUSISIE avrbit USICR,7 ; Start Condition Interrupt Enablerestore ; re-enable listingendif ; __usimb8inc