ERROR L1822: Symbol timer_config

Hi everybody. I am trying to make use of timers, but i cant.

I have used the functions

int timer_config(timer_t timer, bool_t enable, timermode_t mode,uint32_t timeout);

void timer_enable(timer_t timer, uint8_t enable);

int timer_set_timeout(timer_t timer, uint32_t timeout);

to enable the timers, but there is no way.

The errors i get are:

ERROR L1822: Symbol timer_config in file C:/Users/fbova/workspace/transmit_basic_frames/Debug/Sources\main_c.obj is undefined
ERROR L1822: Symbol timer_enable in file C:/Users/fbova/workspace/transmit_basic_frames/Debug/Sources\main_c.obj is undefined
ERROR L1822: Symbol timer_set_timeout in file C:/Users/fbova/workspace/transmit_basic_frames/Debug/Sources\main_c.obj is undefined

Some advice?

Many thanks

int timer_set_timeout(timer_t timer, uint32_t timeout);


Nawaz

int timer_set_timeout(timer_t timer, uint32_t timeout);

int timer_set_timeout(timer_t timer, uint32_t timeout);


Nawaz

What exactly is it you are trying to time?

I want to run a timer for general purposes. For example, to implement a Wait() function.

I have inserted taht code directly without making use of the Smart Editor… i think may be thats the error.

I would suggest adding an RTC function and setting your Clock cycles there via the Smart Editor.