Files
templates/c/gas-logger/include/gas_logger_pcan.h

15 lines
697 B
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.
/*
* Подключение регистратора к диспетчеру ProtoCAN GAS. Адаптер переводит относительное смещение
* региона в адрес регистратора и сопоставляет коды ошибок двух интерфейсов, сохраняя сам сбор
* данных в gas_logger.
*/
#ifndef GAS_LOGGER_PCAN_H
#define GAS_LOGGER_PCAN_H
#include "gas_logger.h"
#include "pcan_gas.h"
/* Service region; signal aliases may be registered separately in the project's
* GAS dispatcher. CAN callbacks use the logger's alias map. */
void gl_pcan_region_init(pcan_gas_region_t *region,gas_logger *log);
#endif