I still don't fully understand what is resource sharing in real time embedded systems programming. From the discussion I have come to the conclusion that we need RTOS when we need guaranteed response time and when we need to share resources.
I understand that different different tasks can share the microcontroller's peripherals. As a simple example, As I2C is the peripheral of the microcontroller. How do different tasks share I2C
In traditional programming, when multiple devices support I2C protocol, I write functions for i2c protocol. I call these function in main for multiple devices. I share a I2C function for all I2C devices
During this process the protocol is shared for multiple devices. Is this what we call resource sharing process in real time embedded systems programming?
I understand that different different tasks can share the microcontroller's peripherals. As a simple example, As I2C is the peripheral of the microcontroller. How do different tasks share I2C
In traditional programming, when multiple devices support I2C protocol, I write functions for i2c protocol. I call these function in main for multiple devices. I share a I2C function for all I2C devices
During this process the protocol is shared for multiple devices. Is this what we call resource sharing process in real time embedded systems programming?