MATLAB EMBEDDED IDE LINK 4 Podręcznik Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 58
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
28
A lot of options regarding the control
logic and deadband are also available –
giving the user full control over how the
resulting signal should behave. Due to
the nature of the application featured in
this report, this has not been thoroughly
investigated.
Note: All inputs to the PWM-block must
be scalar values.
The Timer-block is a useful tool, be it for
triggering a time dependent task or to
check the time taken to execute a task (as
can be seen in the benchmarking chapter
of this report.
One clock cycle is 1.706µs.
This block configures the digital inputs
available (read: the buttons)
This is pretty straightforward, but it
should be noted that the buttons marked
B1-B3 on the front plate of the hardware
is called using GPIOA bit 15-13.
This block configures the digital outputs
available (read: the LEDs)
It works in pretty much the same way as
the DI-block above. LEDs marked D1-3
are called using GPIOB bit 15-13.
The RTDX, Real Time Data eXchange,
is a great tool that sadly doesn’t work
very well with the Simulink-generated
code.
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 57 58

Komentarze do niniejszej Instrukcji

Brak uwag