Chirp SonicLib
4.5.2
|
Internal definitions for the Chirp CH201 ultrasonic sensor. More...
Go to the source code of this file.
Macros | |
#define | CH201_BANDWIDTH_INDEX_1 6 |
#define | CH201_BANDWIDTH_INDEX_2 (CH201_BANDWIDTH_INDEX_1 + 1) |
#define | CH201_DATA_MEM_ADDR 0x0200 |
#define | CH201_DATA_MEM_SIZE 0x800 |
#define | CH201_FW_SIZE CH201_PROG_MEM_SIZE |
#define | CH201_MAX_TICK_INTERVAL 128 |
#define | CH201_PROG_MEM_ADDR 0xF800 |
#define | CH201_PROG_MEM_SIZE 0x800 |
#define | CH201_SCALEFACTOR_INDEX 4 |
Internal definitions for the Chirp CH201 ultrasonic sensor.
This file contains various hardware-defined values for the CH201 sensor.
You should not need to edit this file or call the driver functions directly. Doing so will reduce your ability to benefit from future enhancements and releases from Chirp.
#define CH201_BANDWIDTH_INDEX_1 6 |
Index of first sample to use for calculating bandwidth.
#define CH201_BANDWIDTH_INDEX_2 (CH201_BANDWIDTH_INDEX_1 + 1) |
Index of second sample to use for calculating bandwidth.
#define CH201_SCALEFACTOR_INDEX 4 |
Index for calculating scale factor.