Freescale Semiconductor Microcontrollers Manuel d'utilisateur Page 644

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 892
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 643
ColdFire V1 Full Chip Simulation Connection
True Time I/O Stimulation
644
Microcontrollers Debugger Manual
Detailed Explanation
def a = TargetObject.#210.B;
This line of code defines a as byte mapped at address 0x210 in TargetObject.
def x = TargetObject.#212;
This line of code defines x as byte mapped at address 0x212 in TargetObject. Size can be
omitted. .B for byte is default.
def b = TargetObject.#216.W;
This line of code defines b as word (.W) mapped at address 0x216 in TargetObject.
def c = TargetObject.#220.L;
This line of code defines c as long (.L) mapped at address 0x220 in TargetObject.
def pbits = Leds.Port_Register.B[7:3];
This line of code defines pbits as bits 5, 6 and 7 in the byte (.B) register named
Port_Register in LEDs. (You can specify names of target objects when using FCS. In our
example, it is the name of the port register defined by the IO-LED component).
#10000 pbits = 3;
This line of code sets the three bits of LEDs. Port_Register accessed with pbits to binary
011. Other bits are unaffected. The new value of Port_Register is 0x75 if the initial value
was 0x55. Values outside the valid BitRange of pbits are truncated (in this example
only values from 0 to 7 are allowed for pbits). The # means that the time of execution of
the instruction is 10000 cycles after the start of the simulation.
20000 a = 0;
This line of code sets a to 0. Without # or + in front of the time marker, the time refers to
the absolute time after starting execution of the Stimulation file.
NOTE In a periodical loop, the time marker without operator is interpreted as +.
+20000 b = pbits + 1;
Vue de la page 643
1 2 ... 639 640 641 642 643 644 645 646 647 648 649 ... 891 892

Commentaires sur ces manuels

Pas de commentaire

Kenwood BL430 manuales

Manuales del propietario y guías del usuario para Batidoras Kenwood BL430.
Ofrecemos 1 manuales en pdf Kenwood BL430 para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Batidoras Kenwood

Modelos Tipo de documento
BL740 Manual de usuario         Инструкция по эксплуатации Kenwood BL740, 61 paginas
BL330 Manual de usuario        Инструкция по эксплуатации Kenwood BL330, 59 paginas
BL530 Manual de usuario         Инструкция по эксплуатации Kenwood BL530, 69 paginas
SB250 Manual de usuario         Инструкция по эксплуатации Kenwood SB250, 122 paginas
SB100 Manual de usuario         Инструкция по эксплуатации Kenwood SB100, 119 paginas
FP693 Manual de usuario      Kenwood FP693 User Manual, 42 paginas
FP210 Manual de usuario   Kenwood FP210 User Manual, 8 paginas
FP940 series Manual de usuario      Kenwood FP940 series User Manual, 49 paginas
BL650 Manual de usuario          Kenwood BL650 User Manual, 67 paginas
FP520 series Manual de usuario   Kenwood FP520 series User Manual, 9 paginas