jani12
Advanced Member level 4
- Joined
- Oct 30, 2014
- Messages
- 108
- Helped
- 0
- Reputation
- 0
- Reaction score
- 1
- Trophy points
- 1,298
- Activity points
- 2,536
Consider a typical Automotive Embedded Software System.
A discrete input signal is 0 or 1. An example of discrete input is ignition ON or OFF.
After discrete input signal is debounced or a state change is latched, is discrete input signal still raw value?
Second question: Should Electronic Control Unit (ECU) low level software debounce discrete inputs or just read the real time state of discrete input? Are there any exceptions meaning some discrete inputs should be debounced, whereas others don't need to be debounced?
A discrete input signal is 0 or 1. An example of discrete input is ignition ON or OFF.
After discrete input signal is debounced or a state change is latched, is discrete input signal still raw value?
Second question: Should Electronic Control Unit (ECU) low level software debounce discrete inputs or just read the real time state of discrete input? Are there any exceptions meaning some discrete inputs should be debounced, whereas others don't need to be debounced?