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

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
Prossima revisioneEntrambe le parti successive la revisione
lib:mdl:mdl-s-ipvarsis-010 [2016/09/12 16:53] – [Variabili di sistema] qem103lib:mdl:mdl-s-ipvarsis-010 [2016/09/12 16:56] – [sys003] qem103
Linea 3: Linea 3:
 The development environment provides a series of ready-made variables that can be used by putting the word “QMOVE.” before the name. For example “QMOVE.is_suspend”, “QMOVE.sys001”, etc. This paragraph is designed to illustrate the 16 system variables called sys001-sys016, whose meaning depends on the firmware that is being used. The development environment provides a series of ready-made variables that can be used by putting the word “QMOVE.” before the name. For example “QMOVE.is_suspend”, “QMOVE.sys001”, etc. This 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 prodottoIl bit 0 corrisponde al dip 1 e così via.+no button pressed.\\ 
 +FUNC button pressed.\\ 
 +2 = BOOT button pressed.\\ 
 +3 = FUNC and BOOT buttons pressed.
  
-NB: Alcuni dip non sono collegati al microprocessore e quindi viene letto sempre al livello logico 0. +== - sys002 ==
  
-== sys003 == +This variabile allows to read a dump of the SW1 dip-switches. The dump is acquired only after the controller is powered. The Bit 0 corresponds to dip 1 and so on. 
-Questa variabile permette il comando del led L1-L2-L3-L4. Il bit 0 corrisponde a L1, il bit1 L2 e così via.+ 
 +NOTE: Some dips are not connected to the microprocessor and is therefore always read at logic level 0. 
 +== sys003 == 
 + 
 +This variable allows the command of led'L1-L2-L3-L4. The bit 0 corresponds to L1, the bit1 to L2 and so on.
  
 == sys004 == == sys004 ==
  • Ultima modifica: 2019/08/29 17:01