2014-01-27 10:32 AM
I am new to programming in C after years of using Basic on PICs. I would like to know where should I look for functions associated with a peripherals like GPIO ADC etc and what parameters they can accept. I am using Cosmic compiler and trying to program STM8S discovery board.
Thanks in advance.2014-01-28 04:36 AM
Hi
Welcome. '' I would like to know where should I look for functions associated with a peripherals like GPIO ADC etc'' The best I can do is point you here : You will have to find the ''Standard Peripheral Library'' for your family of STM8 You do not have to use the library code, you can directly access the peripherals through their control/status registers. You can find out about these from the datasheet/reference manual for your processor.2014-01-28 10:53 AM
Thanks a lot.