rjmp zeropolling_low_imp ;Leitung ist low raus aus schleufe
in r_temp,TCNT_REG
cpi r_temp,(~OWT_MIN_RESET)+OWT_ZP_WAIT_HIGH_TO ;aller zwei us zaehlt der timer
- brsh zeropolling_timeout ;Timeout
- rjmp zeropolling_wait
+ sbis OW_PIN,OW_PINN ;noch eine Abfrage, da sonst schleife zu lang (sbis aendert keine flags)
+ rjmp zeropolling_low_imp ;Leitung ist low raus aus schleufe
+ brlo zeropolling_wait
+ rjmp zeropolling_timeout
zeropolling_low_imp:
sbi OW_DDR,OW_PINN
RESETZEROMARKER