avr: added devices, more work on modules.
This commit is contained in:
@@ -39,7 +39,7 @@ l_end:
|
||||
; ---------------------------------------------------------------------------
|
||||
; @macro UART_BB_M_WAIT_FOR_PIN_HIGH IN_REG_DATA, IN_PINNUM
|
||||
; 0 1
|
||||
; Wait for a pin to become high
|
||||
; Wait for a pin to become high (up to 1ms)
|
||||
; @param %0 DATA register for input pin (e.g. PINB)
|
||||
; @param %1 pin number for input (e.g. PORTB1)
|
||||
; @return CFLAG set if okay, clear otherwise
|
||||
|
||||
@@ -84,7 +84,7 @@ uartBitbang_SendPacket:
|
||||
brcc uartBitbang_SendPacket_lineBusyError
|
||||
|
||||
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
|
||||
; rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
|
||||
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
|
||||
|
||||
adiw xh:xl, COM2_MSG_OFFS_MSGLEN
|
||||
ld r17, X
|
||||
|
||||
Reference in New Issue
Block a user