
IR REMOTE CONTROLLER S3F80KB_AN_REV 0.00 (Preliminary Spec)
18
3.4 IR RECEPTION MODULE
3.4.1 IR reception description
• Port 3.3 is configured as Timer1 Capture mode and falling edge interrupt. Timer1 is configured fast interrupt
by setted SYM.
• When fast interrupt is generated, fast interrupt service routine increase the counter and calcurates leader
length and every bit length. It will check limit of each signal length. If the signal is wrong, it exit from this
routine.
• If all frame is normally received, it cofirmes data correction. Custom code compare each other and data code
compare with a complemented data bar.
• If this data does not have error, the data code will be stored at pressed keypad buffer and data flag will be set
to 1. (This is to transmit stored data code next time)
• Whenever Timer0 overflow interrupt is generated, it will increase a counter variable. If this counter is
exceeded a learning mode limit, It will exit from learning mode.
Comentarios a estos manuales