Author Topic: Embedded system events and action  (Read 1695 times)

0 Members and 1 Guest are viewing this topic.

Offline King123Topic starter

  • Contributor
  • Posts: 18
  • Country: in
Embedded system events and action
« on: August 20, 2022, 11:54:27 pm »
I'm looking for some examples of system events and system actions in embedded systems.

What is system event and system action in embedded system.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4671
  • Country: us
Re: Embedded system events and action
« Reply #1 on: August 21, 2022, 12:31:56 am »
This is very context dependent, and if it's a test/homework problem, you pretty much need to parrot back whatever was said in the book or by the instructor.

Normally, I'd say that a System Even or Action is one that is handled by the operating system rather than the user code.  I could claim "An embedded system doesn't have an operating system, and therefore no events are system events" or "An embedded system encompasses everything that can happen, and therefore ALL events are system events", and those two contradictory statements might have an equal chance of being correct.

In Arduino, I might say that a UART Interrupt is a system event, and the UART ISR code is the system action, since those are both handled by the "core" and not expected to involve the user "sketch."  But other interrupts are NOT handled by the core, so they would earn the "System" label.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Embedded system events and action
« Reply #2 on: August 21, 2022, 09:02:54 pm »
I'm looking for some examples of system events and system actions in embedded systems.

What is system event and system action in embedded system.

If this is a homework question, please quote the entire question.

Otherwise, please give more context, so we can avoid the xy problem. https://entertaininghacks.wordpress.com/library-2/good-questions-pique-our-interest-and-dont-waste-our-time-2/
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline DiTBho

  • Super Contributor
  • ***
  • Posts: 5121
  • Country: gb
Re: Embedded system events and action
« Reply #3 on: August 23, 2022, 12:13:00 pm »
I vaguely remember a book about event programming on Microchip dsPIC  :-//
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 593
Re: Embedded system events and action
« Reply #4 on: August 23, 2022, 08:21:34 pm »
Quote from: westfw
I might say that a UART Interrupt is a system event, and the UART ISR code is the system action

Nicely put
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->