|
enum | DRV_TIM_PRELOAD_VALUE_E {
DRV_TIM_PRELOAD_VALUE_1Hz = 100000000ul,
DRV_TIM_PRELOAD_VALUE_1s = 100000000ul,
DRV_TIM_PRELOAD_VALUE_2Hz = 50000000ul,
DRV_TIM_PRELOAD_VALUE_500ms = 50000000ul,
DRV_TIM_PRELOAD_VALUE_10Hz = 10000000ul,
DRV_TIM_PRELOAD_VALUE_100ms = 10000000ul,
DRV_TIM_PRELOAD_VALUE_100Hz = 1000000ul,
DRV_TIM_PRELOAD_VALUE_10ms = 1000000ul,
DRV_TIM_PRELOAD_VALUE_1KHz = 100000ul,
DRV_TIM_PRELOAD_VALUE_1ms = 100000ul,
DRV_TIM_PRELOAD_VALUE_2KHz = 50000ul,
DRV_TIM_PRELOAD_VALUE_500us = 50000ul,
DRV_TIM_PRELOAD_VALUE_10KHz = 10000ul,
DRV_TIM_PRELOAD_VALUE_100us = 10000ul,
DRV_TIM_PRELOAD_VALUE_100KHz = 1000ul,
DRV_TIM_PRELOAD_VALUE_10us = 1000ul,
DRV_TIM_PRELOAD_VALUE_1MHz = 100ul,
DRV_TIM_PRELOAD_VALUE_1us = 100ul,
DRV_TIM_PRELOAD_VALUE_2MHz = 50ul,
DRV_TIM_PRELOAD_VALUE_500ns = 50ul,
DRV_TIM_PRELOAD_VALUE_10MHz = 10ul,
DRV_TIM_PRELOAD_VALUE_100ns = 10ul,
DRV_TIM_PRELOAD_VALUE_100MHz = 1ul,
DRV_TIM_PRELOAD_VALUE_10ns = 1ul,
DRV_TIM_PRELOAD_VALUE_DEFAULT = 0ul
} |
| Time structure of the timer driver. More...
|
|
enum | DRV_TIM_STATE_E {
DRV_TIM_STATE_DEFAULT = 0x00ul,
DRV_TIM_STATE_STOPPED = 0x01ul,
DRV_TIM_STATE_PAUSED = 0x02ul,
DRV_TIM_STATE_RUNNING = 0x03ul,
DRV_TIM_STATE_TIMEOUT = 0x04ul,
DRV_TIM_STATE_ERROR = 0x05ul
} |
| Enumeration of the timer State. More...
|
|
enum | DRV_TIM_EXTERNAL_EVENT_MODE_E {
DRV_TIM_EXTERNAL_EVENT_MODE_DEFAULT = 0x00ul,
DRV_TIM_EXTERNAL_EVENT_MODE_EXTERNAL_EVENTS = 0x01ul,
DRV_TIM_EXTERNAL_EVENT_MODE_WATCHDOG = 0x02ul,
DRV_TIM_EXTERNAL_EVENT_MODE_AUTO_RUN = 0x03ul
} |
| Enumeration of the external event mode. More...
|
|
enum | DRV_TIM_EXTERNAL_EVENT_TRIGGER_E {
DRV_TIM_EXTERNAL_EVENT_MODE_HIGH_LEVEL = 0x00ul,
DRV_TIM_EXTERNAL_EVENT_MODE_RISING_EDGE = 0x01ul
} |
| Enumeration defines the kind of external event signal. More...
|
|
enum | DRV_TIM_SYSTIME_REFERENCE_E {
DRV_TIM_SYSTIME_REFERENCE_DEFAULT = 0x00ul,
DRV_TIM_SYSTIME_REFERENCE_COM = 0x10ul,
DRV_TIM_SYSTIME_REFERENCE_COM_UC = 0x11ul,
DRV_TIM_SYSTIME_REFERENCE_APP = 0x12ul,
DRV_TIM_SYSTIME_REFERENCE_RESERVED = 0x13ul,
DRV_TIM_SYSTIME_REFERENCE_MIN = DRV_TIM_SYSTIME_REFERENCE_COM
} |
| The time base that is used for the timer. More...
|
|
enum | DRV_TIM_COUNTING_MODE_E {
DRV_TIM_COUNTING_MODE_ONCE = 0x00ul,
DRV_TIM_COUNTING_MODE_CONTINUOUS = 0x01ul,
DRV_TIM_COUNTING_MODE_COMPARE = 0x02ul,
DRV_TIM_COUNTING_MODE_RESERVED = 0x03ul
} |
| Enumeration of the available counting modes. More...
|
|
enum | DRV_TIM_SYMMETRIC_E {
DRV_TIM_SYMMETRIC_SAWTOOTH = 0x00ul,
DRV_TIM_SYMMETRIC_TRIANGLE = 0x01ul
} |
| Enumeration of the counting symmetries available. More...
|
|
Header file of timer driver.
- Revision
- 4646
- Date
- 2018-12-19 08:47:36 +0100 (Mi, 19 Dez 2018)
- Copyright
- Copyright (c) Hilscher Gesellschaft fuer Systemautomation mbH. All Rights Reserved.
- Note
- Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!
Definition in file netx_drv_tim.h.