Seletor

.
;********************************************************************************
.MESSAGE "selecionamento de códigos e variáveis."
.EQU f_ativado            = 1                    ; bit ativado                        *
;********************************************************************************
;
;
;
;********************************************************************************
;* mensagens
.EQU __tab_inicial__    = f_ativado
.EQU __tab_opcao__        = f_ativado
;********************************************************************************
;
;
;
;********************************************************************************
;* interrupção
; .EQU __nvl_baixo_1__    = f_ativado
; .EQU __nvl_altern_1__    = f_ativado
.EQU __borda_desc_1__    = f_ativado
;.EQU __borda_subi_1__    = f_ativado
;********************************************************************************
;
;
;
;********************************************************************************
;* klavaro
.EQU __klavaro__        = f_ativado        ; habilita teclado
.EQU __funcoes_8574__    = f_ativado        ;
;********************************************************************************
;
;
;
;********************************************************************************
;* sistema
.EQU __sistema__    = f_ativado
;********************************************************************************
;
;
;
;*************** Inserir no arquivo de seleção (selecao.inc). *******************
;
;
;********************************************************************************
;* .EQU f_ativado = 1                                ;                            *
.MESSAGE "<<< o PCF8574 no simular é do tipo A (0x70) e no chip é do tipo P (0x40) >>>"
;*
.EQU __CI_8574__                     = f_ativado        ; comentar desabilita o CI 8574-x.
;* .EQU __CI_TIPO_P__                     = f_ativado        ; comentar habilita o CI 8574-x como tipo A.
;* .EQU __twi_barramento_LCD__         = f_ativado        ; comentar desabilita o barramento LCD via CI 8574-x.
;* .EQU __twi_barramento_LEDs__     = f_ativado        ; comentar desabilita o barramento LEDs via CI 8574-x.
;* .EQU __twi_barramento_DADOs__     = f_ativado        ; comentar desabilita o barramento DADOs via CI 8574-x.
.EQU __klavaro_8574__                = f_ativado        ; comentar desabilita o barramento KLAVARO via CI 8574-x.
;*                                                                                *
;* Obsrvação: deve ser comentado a variável __TIPO_P__ para usar no simulador.    *
;********************************************************************************
;
.

Nenhum comentário:

Postar um comentário