SN8P26L38
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 114
Version 1.5
10.2.5 IR OUTPUT OPERATION SEQUENCE
Set IRC and IRR for IR cycle.
MOV
A, #IRCYCVAL
;IRC, IRR value for IR cycle.
MOV
IRC, A
MOV
IRR, A
Set IRD for IR duty.
MOV
A, #IRDUTYVAL
;IRD value for IR duty.
MOV
IRD, A
Enable IR output.
BSET
FIREN
; Set IROUT pin to IR carry output function.
BSET
FCREN
; Set IR carry signal output.