API  2.3.0
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_timer_config_t Struct Reference

timer configuration More...

#include <tsmart_timer.h>

Data Fields

tsmart_timer_cm_t counter_mode
 
uint16_t timeout
 
uint16_t prescaler
 

Detailed Description

timer configuration

Examples:
timer.c.

Field Documentation

tsmart_timer_cm_t counter_mode

Select the counter mode: TSMART_TIMER_DELAY or TSMART_TIMER_CHRORNO

Examples:
timer.c.
uint16_t prescaler

Not in Use

uint16_t timeout

Set time to count (in tenth of miliseconds). Maximum 65535 tenth of miliseconds

Examples:
timer.c.