|
Contiki 3.x
|
Header file for the Zolertia Zonik sound sensor. More...
#include <stdio.h>#include "lib/sensors.h"#include "dev/zoul-sensors.h"#include "i2c.h"#include "sys/rtimer.h"Go to the source code of this file.
Macros | |
ZONIK address and definitions | |
| #define | ZONIK_ADDR 0x68 |
| #define | ZONIK_SENSOR "Zonik Sound Sensor" |
| #define | ZONIK_INITIAL_WAIT_DELAY 11000L |
| #define | ZONIK_FINAL_WAIT_DELAY 22000L |
| #define | ZONIK_INT_PORT I2C_INT_PORT |
| #define | ZONIK_INT_PIN I2C_INT_PIN |
| #define | ZONIK_FRAME_SIZE 4 |
| #define | ZONIK_WAIT_ACQ (CLOCK_SECOND / 5) |
| #define | ZONIK_SECOND_INTERVAL 106 |
ZONIK error values and definitions | |
| #define | ZONIK_ACTIVE SENSORS_ACTIVE |
| #define | ZONIK_HW_INIT SENSORS_HW_INIT |
| #define | ZONIK_ENABLED 1 |
| #define | ZONIK_VALUE_DEACTIVATE 0 |
| #define | ZONIK_DISABLED 0xD1ED |
| #define | ZONIK_ERROR (-1) |
| #define | ZONIK_DBA_LEQ_VALUE 0x00 |
| #define | ZONIK_COUNT_VALUE 0x01 |
ZONIK command definitions | |
| #define | ZONIK_CMD_READ 0x01 |
Variables | |
ZONIK sensor type | |
| const struct sensors_sensor | zonik |
Header file for the Zolertia Zonik sound sensor.
Definition in file zonik.h.
1.8.6