counter  2.0.0.0
Functions
main.c File Reference

Counter Click example. More...

#include "board.h"
#include "log.h"
#include "counter.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Detailed Description

Counter Click example.

Description

Measuring RPM and speed of DC motor shafts

The demo application is composed of two sections :

Application Init

Initializes driver init and chip init

Application Task

This application reads data from CNTR. The CNTR is a software configurable 8, 16, 24 or 32-bit up/down counter which counts the up/down pulses resulting from the quadrature clocks applied at the A and B inputs, or alternatively, in non-quadrature mode, pulses applied at the A input.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )