PHiLIP
|
Controls the timer peripheral. More...
#include <errno.h>
#include "stm32f1xx_hal.h"
#include "PHiLIP_typedef.h"
#include "PHiLIP_defaults.h"
#include "port.h"
#include "gpio.h"
#include "trace.h"
#include "tmr.h"
Data Structures | |
struct | tmr_dev_t |
The parameters for tmr control. More... | |
Functions | |
void | init_dut_ic (map_t *map) |
Initializes timer registers and peripheral. More... | |
void | init_dut_ic_msp () |
Only for use with the STM32xxxx_HAL_Driver. | |
void | deinit_dut_ic_msp () |
Only for use with the STM32xxxx_HAL_Driver. | |
error_t | commit_dut_ic () |
Commits the adc registers and executes operations. More... | |
void | poll_dut_ic () |
Polls for high speed input capture values. More... | |
void | update_dut_ic_inputs () |
Updates the dut_ic input level. | |
void | DUT_IC_DMA_INT () |
This function handles dut_ic dma event interrupt. | |
void | DUT_IC_GPIO_INT () |
Trigger on edge, must be quick and save counter value in buffer. | |
Controls the timer peripheral.