speedradar 2.1.0.0
|
This file contains API for Speed Radar Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | speedradar_t |
Speed Radar Click context object. More... | |
struct | speedradar_cfg_t |
Speed Radar Click configuration object. More... | |
Enumerations | |
enum | speedradar_return_value_t { SPEEDRADAR_OK = 0 , SPEEDRADAR_ERROR = -1 } |
Speed Radar Click return value data. More... | |
Functions | |
void | speedradar_cfg_setup (speedradar_cfg_t *cfg) |
Speed Radar configuration object setup function. | |
err_t | speedradar_init (speedradar_t *ctx, speedradar_cfg_t *cfg) |
Speed Radar initialization function. | |
err_t | speedradar_default_cfg (speedradar_t *ctx) |
Speed Radar default configuration function. | |
err_t | speedradar_generic_write (speedradar_t *ctx, uint8_t *data_in, uint16_t len) |
Speed Radar data writing function. | |
err_t | speedradar_generic_read (speedradar_t *ctx, uint8_t *data_out, uint16_t len) |
Speed Radar data reading function. | |
err_t | speedradar_send_command (speedradar_t *ctx, uint8_t *cmd) |
Speed Radar send command function. | |
err_t | speedradar_send_command_value (speedradar_t *ctx, uint8_t *cmd, uint8_t *cmd_value) |
Speed Radar send command function. | |
uint8_t | speedradar_get_direction (speedradar_t *ctx) |
Speed Radar get direction function. | |
uint8_t | speedradar_get_detection (speedradar_t *ctx) |
Speed Radar get detection function. | |
This file contains API for Speed Radar Click Driver.