DolphinV4 API  1.6.1.0
TIMER1 config parameters
Collaboration diagram for TIMER1 config parameters:

Enumerations

enum  TIMER1_PARAM_IDX { IDX_TIMER1_PERIOD = 0, IDX_TIMER1_POSTSCALER, IDX_TIMER1_DUTYCYCLE, IDX_TIMER1_MODE }
 Parameter passing index. More...

Detailed Description

Structure used for initialisation function of this module


Enumeration Type Documentation

Parameter passing index.

Enumerator:
IDX_TIMER1_PERIOD 

In COUNTER mode defines the number of timer ticks the timer counter resets or an interrupt is generated when the callback function is enabled.
In PWM mode this parameter defines the PWM signal periode.

IDX_TIMER1_POSTSCALER 

In COUNTER mode the postscaler increases the timer period value.

IDX_TIMER1_DUTYCYCLE 

In COUNTER mode not used, in PWM mode is the PWM signal dutycycle.

IDX_TIMER1_MODE 

Enabling or disabling PWM mode - when PWM mode is disabled the timer is in COUNTER mode.