[an error occurred while processing this directive]
|
на асме:
.equ TWINT =7 ; TWI Intrrupt Flag
.equ TWEA =6 ; TWI Enable Acknowledge Bit
.equ TWSTA =5 ; TWI START Condition Bit
.equ TWSTO =4 ; TWI STOP Condition Bit
.equ TWWC =3 ; TWI Write Collision Flag
.equ TWEN =2 ; TWI Enable Bit
.equ TWIE =0 ; TWI Interrupt Enable
соответственно (1 << TWINT) = 0x80
и т.д.
E-mail: info@telesys.ru