Tool/software: TI-RTOS
Hi Team,
My project needs to implement such a function: four operating modes are controlled by two pins.
I have encountered several difficulties in implementation:
1.I put the four modes of code in the same task and constantly polling the pin level,like if(read(pin1)&read(pin2))do something;Since my UART uses blocking mode, the task can't detect the level change when the pin is switched, so it doesn't make sense.
2.How to implement the logic of entering and exiting shutdown mode with two pin control modules?
My approach may not be reasonable. Do you have any good ideas?
