Support PM67 voltage fields in UMP logger v3
This commit is contained in:
15
c/set-protocol/ports/tms320f28335/ump_tms28335.h
Normal file
15
c/set-protocol/ports/tms320f28335/ump_tms28335.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef UMP_TMS28335_H
|
||||
#define UMP_TMS28335_H
|
||||
#include "../../include/ump_protocol.h"
|
||||
/* Application provides ump_log_read/write; caller holds the snapshot IRQ lock.
|
||||
* No peripheral registers, ISR installation or transport waits in this port. */
|
||||
unsigned ump_tms28335_prepare(unsigned function, uint16_t address, uint16_t value,
|
||||
uint16_t *reply, unsigned *error);
|
||||
size_t ump_tms28335_rtu(unsigned device, unsigned function, uint16_t address,
|
||||
uint16_t value, ump_octet *reply, size_t capacity);
|
||||
unsigned ump_tms28335_capture(unsigned function, uint16_t address, uint16_t value,
|
||||
uint16_t *words, unsigned *error);
|
||||
/* Convert one pair to TI eCAN MDL/MDH register values; returns 8 or 0. */
|
||||
unsigned ump_tms28335_fragment(const uint16_t *words, unsigned count, unsigned index,
|
||||
unsigned token, unsigned error, uint32_t *mdl, uint32_t *mdh);
|
||||
#endif
|
||||
Reference in New Issue
Block a user