Skip to main content
SGeno.1
Associate
November 20, 2020
Solved

How read the EMIOS counters?

  • November 20, 2020
  • 1 reply
  • 845 views

I need to read the EMIOS 0 channel 5 counter.

How can I solve it?

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Sorry for the late answer ,

    i recommend to check the test application provided in SPC5Studio 6.0 and Help section

    the counter is :in :

     union {
     vuint32_t R;
     struct {
     vuint32_t unused_0:16;
     vuint32_t C:16;
     } B;
     } CNT;

    in serving the interrupt , it will possible to check the EMIO 0 Channel 5 Counter.

    Best Regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    May 24, 2022

    Sorry for the late answer ,

    i recommend to check the test application provided in SPC5Studio 6.0 and Help section

    the counter is :in :

     union {
     vuint32_t R;
     struct {
     vuint32_t unused_0:16;
     vuint32_t C:16;
     } B;
     } CNT;

    in serving the interrupt , it will possible to check the EMIO 0 Channel 5 Counter.

    Best Regards

    Erwan