DESCRIPTION
Table IP Name (Label) 12 12 System Resources Functional DESCRIPTION
Decode 12 bits of information from the 3 Encoder HT48R50A-1 213 12 3 _10+2D Function MCU ROM RAM 15 Bytes: ″HI_COUNT″ ″LO_COUNT″ ″HI_COUNT_SAVE″ ″LO_COUNT_SAVE″ ″BITCOUNTER″ ″DATARES″ ″ADD_RES2″ ″ADD_RES1″ ″ADD_RES0″ ″WORDCNT″ ″VTCOUNT1″ ″VTCOUNT0″ ″DECODER_CODE[2]″ ″DECODER_CODE[1]″ ″DECODER_CODE[0]″ 、 、 、 、 、 、 、 、 、 、 、 、 、 、 5 Bits: ″DECODER_EN″ ″DECODER_FLAG″ ″DECODER_STATUS″ ″MATCHBIT″ ″VTBIT″ 、 、 、 、 Stack Subroutine/Macro I/O lines 1 level used Subroutine 14 I/O lines PB0~PB7: input pins(I/O), non-pull high PC0~PC1: input pins(I/O), non-pull high PD2~PD4: output pin(I/O), pull high PA5: input pin(I/O), pull high 8MHz RC TMR INTERUPT Set address pins CALL DECODER_INITIAL fSYS Other MCU resources User interface 2 312 Decoder (10+2 - Corresponds to HT6010/HT6012) Program Flowchart A INITIAL N N DECODER_STATUS= 1? Y HI_COUNT Increase 1 VTCOUNT1 Decrease 1 N N Match with receives ? Read 10-bit address VTCOUNT1=0?