counter 2.0.0.0

Topics

 MikroBUS
 
 Error Code
 
 Register commands
 
 Counter click registers
 
 MDR0 count mode setting
 
 MDR0 count type setting
 
 MDR0 index setting
 
 MDR0 index sign setting
 
 MDR0 clock filter division factor
 

Macros

#define COUNTER_FILTER_CLOCK_DIV1   0x00
 
#define COUNTER_FILTER_CLOCK_DIV2   0x80
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ COUNTER_FILTER_CLOCK_DIV1

#define COUNTER_FILTER_CLOCK_DIV1   0x00

◆ COUNTER_FILTER_CLOCK_DIV2

#define COUNTER_FILTER_CLOCK_DIV2   0x80