Files
templates/c/gas-logger/ports/pm35/pm35_map.h

26 lines
1.1 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Связь регистратора ПМ35 с картой доступных сигналов. Адреса сигналов согласуются с
* JSON-картой клиента; изменение только одной стороны приводит к неверной интерпретации снимка
* даже при успешном обмене.
*/
/* Generated from pm35.json. Do not edit. */
#ifndef GL_PM35_MAP_H
#define GL_PM35_MAP_H
#include "gas_logger.h"
static const gl_channel gl_pm35_channels[] = {
{20480U, 20480U, 20480U}, /* commands */
{20481U, 20481U, 20481U}, /* current */
{20482U, 20482U, 20482U}, /* dac */
{20483U, 20483U, 20483U}, /* go */
{20484U, 20484U, 20484U}, /* stop */
{20485U, 20485U, 20485U}, /* zpt1 */
{20486U, 20486U, 20486U}, /* zpt2 */
};
static const uint16_t gl_pm35_source_space[] = { 0U, 0U, 0U, 0U, 0U, 1U, 1U };
static const uint16_t gl_pm35_source_address[] = { 127U, 28U, 123U, 80U, 81U, 0U, 1U };
static const gl_config gl_pm35_config = {
24576U, 7U, 760U, 0x635F84CBUL, gl_pm35_channels
};
#endif