File UltrasoundController.cpp
FileList > demo-projets > stm32 > src > UltrasoundController.cpp
Go to the source code of this file.
#include "UltrasoundController.hpp"
#include "stm32f1xx_hal.h"
#include "stm32f1xx_hal_rcc.h"
#include "stm32f1xx_ll_exti.h"
#include "stm32f1xx_ll_tim.h"
#include "utils/Debug.hpp"
#include "utils/QueueWrapper.hpp"
#include "utils/TaskWrapper.hpp"
#include "Bsp.hpp"
#include "Dispatcher.hpp"
Public Static Attributes
Type | Name |
---|---|
const uint16_t | echoRestoreTimeoutMs = = 180 |
const uint16_t | pingTimeoutMs = = 30 |
uint32_t | risingMicros |
CoprocStat | status |
QueueWrapper< int, 16 > | trigQueue |
int | utsActiveIndex |
TaskWrapper< 512 > | utsTask |
Public Functions
Type | Name |
---|---|
void | ultrasoundDispatch (const CoprocReq_UltrasoundReq & request) |
void | ultrasoundInit () |
void | ultrasoundOnEchoEdge () |
void | ultrasoundReset () |
Public Static Attributes Documentation
variable echoRestoreTimeoutMs
const uint16_t echoRestoreTimeoutMs;
variable pingTimeoutMs
const uint16_t pingTimeoutMs;
variable risingMicros
uint32_t risingMicros;
variable status
CoprocStat status;
variable trigQueue
QueueWrapper<int, 16> trigQueue;
variable utsActiveIndex
int utsActiveIndex;
variable utsTask
TaskWrapper<512> utsTask;
Public Functions Documentation
function ultrasoundDispatch
void ultrasoundDispatch (
const CoprocReq_UltrasoundReq & request
)
function ultrasoundInit
void ultrasoundInit ()
function ultrasoundOnEchoEdge
void ultrasoundOnEchoEdge ()
function ultrasoundReset
void ultrasoundReset ()
The documentation for this class was generated from the following file demo-projets/stm32/src/UltrasoundController.cpp