|
ldi temporary1,SED_mem_rd_command
;rcall send_1335_commandsbi portd,SED_A0
cbi portd,SED_WR
out porta,temporary1
;nop
sbi portd,SED_WR
cbi portd,SED_A0
;rcall accept_1335_data
sbi portd,SED_A0
out porta,zero_reg
out ddra,zero_reg ;porta to input
cbi portd,SED_RD
push temporary1
pop temporary1
sbi portd,SED_RD
push temporary1
pop temporary1
push temporary1
pop temporary1
cbi portd,SED_RD
push temporary1
pop temporary1
in temporary1,pina
sbi portd,SED_RD
cbi portd,SED_A0
E-mail: info@telesys.ru