Embedded C code frame work on STM8
Closed - This job posting has been filled.
We need the code in C simple frame work for STM8S207R8T6, must be compiled with cxstm8 compiler. We only need the frame work, not detailed. The code should include followings:
1. a 50ms OR 100mS timer interrupt function.
2.an external interrupt function from either PE6 OR PE7 pin.
3.a PWM output on I/O PC2 pin
4. An interrupt based UART function in main loop waiting for the command from UART1(or UART3).
5.ADC common function for AIN0,1,2,3,6,10 value reading.
6.UART3(or UART1) ready for boot-loader communication.
7.Keys detection function. There are keys on PF4,5,6,7 pins
8.An external interrupt function on pin PD7.
9. All rest I/O pins for IO function ready.
10. A 2048 bytes unsigned char data array will be assigned in code. It should be: unsigned chat DispBuffer;