Enumerations
HAL TIMER state
Peripheral Driver » HAL Driver » TIMER » Enumerations

## Enumerations
enum | hal_timer_state_t { HAL_TIMER_STATE_RESET = 0x00, HAL_TIMER_STATE_READY = 0x01, HAL_TIMER_STATE_BUSY = 0x02, HAL_TIMER_STATE_ERROR = 0x04 }
| HAL TIMER State Enumerations definition. More...
enum | hal_timer_capture_type_t { HAL_TIMER_CAPTURE_NONE = 0x00, HAL_TIMER_CAPTURE_FALLING = 0x01, HAL_TIMER_CAPTURE_RISING = 0x02, HAL_TIMER_CAPTURE_BOTH = 0x03 }
| HAL TIMER capture type Enumerations definition. More...
enum | hal_timer_capture_pin_t { HAL_TIMER_CAPTURE_GPIO_PIN_0 = 0x00, HAL_TIMER_CAPTURE_GPIO_PIN_1 = 0x01, HAL_TIMER_CAPTURE_GPIO_PIN_2 = 0x02, HAL_TIMER_CAPTURE_GPIO_PIN_3 = 0x03, HAL_TIMER_CAPTURE_GPIO_PIN_4 = 0x04, HAL_TIMER_CAPTURE_GPIO_PIN_5 = 0x05, HAL_TIMER_CAPTURE_GPIO_PIN_6 = 0x06, HAL_TIMER_CAPTURE_GPIO_PIN_7 = 0x07, HAL_TIMER_CAPTURE_GPIO_PIN_8 = 0x08, HAL_TIMER_CAPTURE_GPIO_PIN_9 = 0x09, HAL_TIMER_CAPTURE_GPIO_PIN_10 = 0x0A, HAL_TIMER_CAPTURE_GPIO_PIN_11 = 0x0B, HAL_TIMER_CAPTURE_GPIO_PIN_12 = 0x0C, HAL_TIMER_CAPTURE_GPIO_PIN_13 = 0x0D, HAL_TIMER_CAPTURE_AON_GPIO_PIN_0 = 0x0E, HAL_TIMER_CAPTURE_AON_GPIO_PIN_1 = 0x0F, HAL_TIMER_CAPTURE_AON_GPIO_PIN_2 = 0x10, HAL_TIMER_CAPTURE_AON_GPIO_PIN_3 = 0x11, HAL_TIMER_CAPTURE_AON_GPIO_PIN_4 = 0x12, HAL_TIMER_CAPTURE_AON_GPIO_PIN_5 = 0x13, HAL_TIMER_CAPTURE_AON_GPIO_PIN_6 = 0x14, HAL_TIMER_CAPTURE_AON_GPIO_PIN_7 = 0x15, HAL_TIMER_CAPTURE_MSIO_PIN_0 = 0x16, HAL_TIMER_CAPTURE_MSIO_PIN_1 = 0x17, HAL_TIMER_CAPTURE_MSIO_PIN_2 = 0x18, HAL_TIMER_CAPTURE_MSIO_PIN_3 = 0x19, HAL_TIMER_CAPTURE_MSIO_PIN_4 = 0x1A, HAL_TIMER_CAPTURE_MSIO_PIN_5 = 0x1B, HAL_TIMER_CAPTURE_MSIO_PIN_6 = 0x1C, HAL_TIMER_CAPTURE_MSIO_PIN_7 = 0x1D, HAL_TIMER_CAPTURE_MSIO_PIN_8 = 0x1E, HAL_TIMER_CAPTURE_MSIO_PIN_9 = 0x1F }
| HAL TIMER capture pin Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ hal_timer_capture_pin_t

enum hal_timer_capture_pin_t

HAL TIMER capture pin Enumerations definition.

Enumerator
HAL_TIMER_CAPTURE_GPIO_PIN_0 | capture GPIO_PIN_0
HAL_TIMER_CAPTURE_GPIO_PIN_1 | capture GPIO_PIN_1
HAL_TIMER_CAPTURE_GPIO_PIN_2 | capture GPIO_PIN_2
HAL_TIMER_CAPTURE_GPIO_PIN_3 | capture GPIO_PIN_3
HAL_TIMER_CAPTURE_GPIO_PIN_4 | capture GPIO_PIN_4
HAL_TIMER_CAPTURE_GPIO_PIN_5 | capture GPIO_PIN_5
HAL_TIMER_CAPTURE_GPIO_PIN_6 | capture GPIO_PIN_6
HAL_TIMER_CAPTURE_GPIO_PIN_7 | capture GPIO_PIN_7
HAL_TIMER_CAPTURE_GPIO_PIN_8 | capture GPIO_PIN_8
HAL_TIMER_CAPTURE_GPIO_PIN_9 | capture GPIO_PIN_9
HAL_TIMER_CAPTURE_GPIO_PIN_10 | capture GPIO_PIN_10
HAL_TIMER_CAPTURE_GPIO_PIN_11 | capture GPIO_PIN_11
HAL_TIMER_CAPTURE_GPIO_PIN_12 | capture GPIO_PIN_12
HAL_TIMER_CAPTURE_GPIO_PIN_13 | capture GPIO_PIN_13
HAL_TIMER_CAPTURE_AON_GPIO_PIN_0 | capture AON_GPIO_PIN_0
HAL_TIMER_CAPTURE_AON_GPIO_PIN_1 | capture AON_GPIO_PIN_1
HAL_TIMER_CAPTURE_AON_GPIO_PIN_2 | capture AON_GPIO_PIN_2
HAL_TIMER_CAPTURE_AON_GPIO_PIN_3 | capture AON_GPIO_PIN_3
HAL_TIMER_CAPTURE_AON_GPIO_PIN_4 | capture AON_GPIO_PIN_4
HAL_TIMER_CAPTURE_AON_GPIO_PIN_5 | capture AON_GPIO_PIN_5
HAL_TIMER_CAPTURE_AON_GPIO_PIN_6 | capture AON_GPIO_PIN_6
HAL_TIMER_CAPTURE_AON_GPIO_PIN_7 | capture AON_GPIO_PIN_7
HAL_TIMER_CAPTURE_MSIO_PIN_0 | capture MSIO_PIN_0
HAL_TIMER_CAPTURE_MSIO_PIN_1 | capture MSIO_PIN_1
HAL_TIMER_CAPTURE_MSIO_PIN_2 | capture MSIO_PIN_2
HAL_TIMER_CAPTURE_MSIO_PIN_3 | capture MSIO_PIN_3
HAL_TIMER_CAPTURE_MSIO_PIN_4 | capture MSIO_PIN_4
HAL_TIMER_CAPTURE_MSIO_PIN_5 | capture MSIO_PIN_5
HAL_TIMER_CAPTURE_MSIO_PIN_6 | capture MSIO_PIN_6
HAL_TIMER_CAPTURE_MSIO_PIN_7 | capture MSIO_PIN_7
HAL_TIMER_CAPTURE_MSIO_PIN_8 | capture MSIO_PIN_8
HAL_TIMER_CAPTURE_MSIO_PIN_9 | capture MSIO_PIN_9

Definition at line 97 of file hal_tim.h.

## ◆ hal_timer_capture_type_t

enum hal_timer_capture_type_t

HAL TIMER capture type Enumerations definition.

Enumerator
HAL_TIMER_CAPTURE_NONE | Set timer capture NONE
HAL_TIMER_CAPTURE_FALLING | Set timer capture io falling edge
HAL_TIMER_CAPTURE_RISING | Set timer capture io rising edge
HAL_TIMER_CAPTURE_BOTH | Set timer capture io both edge

Definition at line 86 of file hal_tim.h.

## ◆ hal_timer_state_t

enum hal_timer_state_t

HAL TIMER State Enumerations definition.

Enumerator
HAL_TIMER_STATE_RESET | Peripheral not yet initialized or disabled
HAL_TIMER_STATE_READY | Peripheral Initialized and ready for use
HAL_TIMER_STATE_BUSY | An internal process is ongoing
HAL_TIMER_STATE_ERROR | Reception process is ongoing

Definition at line 75 of file hal_tim.h.