Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
DRV_TIM_CONFIGURATION_T Struct Reference

Timer base Configuration Structure definition. More...

#include <netx_drv_tim.h>

Collaboration diagram for DRV_TIM_CONFIGURATION_T:
Collaboration graph

Data Fields

DRV_TIM_DEVICE_ID_E eDeviceID
 
uint32_t uMax
 
DRV_TIM_PRELOAD_VALUE_E tPreloadValue
 
DRV_TIM_EXTERNAL_EVENT_MODE_E eExternalEventMode
 
DRV_TIM_EXTERNAL_EVENT_TRIGGER_E eExternalEventTrigger
 
DRV_TIM_SYSTIME_REFERENCE_E eSystimeReference
 
DRV_DIO_ID_T eDioIdInputReference
 
DRV_DIO_MSK_T eDioMskOutputReference
 
DRV_TIM_COUNTING_MODE_E eCountingMode
 
DRV_TIM_SYMMETRIC_E eSymmetric
 
DRV_OPERATION_MODE_E eOperationMode
 

Detailed Description

Timer base Configuration Structure definition.

The configuration SHALL be changed before initializing the device and shall not be changed afterwards.

Definition at line 174 of file netx_drv_tim.h.

Field Documentation

DRV_TIM_COUNTING_MODE_E DRV_TIM_CONFIGURATION_T::eCountingMode

How the counter reloads.

Definition at line 184 of file netx_drv_tim.h.

DRV_TIM_DEVICE_ID_E DRV_TIM_CONFIGURATION_T::eDeviceID

Definition at line 176 of file netx_drv_tim.h.

DRV_DIO_ID_T DRV_TIM_CONFIGURATION_T::eDioIdInputReference

Which dio channel will be used for event detection

Definition at line 182 of file netx_drv_tim.h.

DRV_DIO_MSK_T DRV_TIM_CONFIGURATION_T::eDioMskOutputReference

Where the signal of the counter is linked to.

Definition at line 183 of file netx_drv_tim.h.

DRV_TIM_EXTERNAL_EVENT_MODE_E DRV_TIM_CONFIGURATION_T::eExternalEventMode

Defines what shall happen if there is an external event on the eInputReference

Definition at line 179 of file netx_drv_tim.h.

DRV_TIM_EXTERNAL_EVENT_TRIGGER_E DRV_TIM_CONFIGURATION_T::eExternalEventTrigger

Defines what triggers an external event.

Definition at line 180 of file netx_drv_tim.h.

DRV_OPERATION_MODE_E DRV_TIM_CONFIGURATION_T::eOperationMode

Which programming method (DMA/IRQ/POLL) is used.

Definition at line 186 of file netx_drv_tim.h.

DRV_TIM_SYMMETRIC_E DRV_TIM_CONFIGURATION_T::eSymmetric

How the counter counts.

Definition at line 185 of file netx_drv_tim.h.

DRV_TIM_SYSTIME_REFERENCE_E DRV_TIM_CONFIGURATION_T::eSystimeReference

Which system clock shall be used as time base.

Definition at line 181 of file netx_drv_tim.h.

DRV_TIM_PRELOAD_VALUE_E DRV_TIM_CONFIGURATION_T::tPreloadValue

Ticks in 100MHz or on external events. In triangle mode it ticks from 0 to T/2 and back with [T] ticks and on sawtooth from 0 to T in [T+1] ticks. For systime compare it holds the software counter value in seconds.

Definition at line 178 of file netx_drv_tim.h.

uint32_t DRV_TIM_CONFIGURATION_T::uMax

Maximum Timer/Counter compare value in microseconds

Definition at line 177 of file netx_drv_tim.h.


The documentation for this struct was generated from the following file: