lib:mdl:mdl-s-ipvarsis-010

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Prossima revisione
Revisione precedente
Prossima revisioneEntrambe le parti successive la revisione
lib:mdl:mdl-s-ipvarsis-010 [2013/10/25 11:30] – modifica esterna 127.0.0.1lib:mdl:mdl-s-ipvarsis-010 [2016/09/12 16:55] – [sys002] qem103
Linea 1: Linea 1:
-==== Variabili di sistema ==== +==== - System Variables ==== 
-L'ambiente di sviluppo mette disposizione una serie di variabili predefinite che possono essere utilizzate precedendo al nome la parola chiave "QMOVE:"Per esempio "QMOVE:is_suspend""QMOVE:sys001"ecc + 
-Lo scopo del presente paragrafo è illustrare le 16 variabili di sistema chiamate sys001÷sys016 il cui significato dipende dal firmware che si sta utilizzando+The development environment provides series of ready-made variables that can be used by putting the word “QMOVE.” before the name. For example “QMOVE.is_suspendQMOVE.sys001etcThis paragraph is designed to illustrate the 16 system variables called sys001-sys016, whose meaning depends on the firmware that is being used.
  
 == sys001 == == sys001 ==
-Questa variabile a sola lettura indica lo stato dei pulsanti FUNC (bit 0) e BOOT (bit 1). I valori possibili sono dunque:\\ 
-0 = nessun pulsante premuto.\\ 
-1 = pulsante FUNC premuto.\\ 
-2 = pulsante BOOT premuto.\\ 
-3 = pulsanti FUNC e BOOT premuti. 
  
-== sys002 == +This is a read only variable that indicates the status of the FUNC (bit 0) and BOOT (bit 1) buttons. The following settings are possible:\\ 
-Questa variabile permette la lettura dell'immagine del dip-switch SW1. L'immagine viene acquisita solo all'accensione del prodotto. Il bit 0 corrisponde al dip 1 e così via.+no button pressed.\\ 
 +FUNC button pressed.\\ 
 +BOOT button pressed.\\ 
 +FUNC and BOOT buttons pressed. 
 + 
 +== sys002 ==
  
-NB il dip nr8 non è collegato al microprocessore e quindi viene letto sempre al livello logico 0. +This variabile allows to read a dump of the SW1 dip-switchesThe dump is acquired only after the controller is powered. The Bit corresponds to dip 1 and so on.
  
 +NOTE: Some dips are not connected to the microprocessor and is therefore always read at logic level 0.
 == sys003 == == sys003 ==
 Questa variabile permette il comando del led L1-L2-L3-L4. Il bit 0 corrisponde a L1, il bit1 a L2 e così via. Questa variabile permette il comando del led L1-L2-L3-L4. Il bit 0 corrisponde a L1, il bit1 a L2 e così via.
  • Ultima modifica: 2019/08/29 17:01