In picOS 18 there is taskdesc.c file which defines alarms. There is such a definition in that file :
Counter Counter_list[] =
{
/*******************************************************************
* -------------------------- First counter ------------------------
*******************************************************************/
{
{
200, /* maxAllowedValue */
10, /* ticksPerBase */
100 /* minCycle */
},
0, /* CounterValue */
0 /* Nbr of Tick for 1 CPT */
}
};
I don't understand the meaning of maxAllowedValue,ticksPerBase,minCycle,CounterValue ,Nbr of Tick for 1 CPT. I looked them on the web, on datasheets and tutorials and I have found nothing. Can you tell me what they are used for please?