UNPKG

@linuxcnc-node/hal

Version:

Node.js bindings for LinuxCNC HAL library

51 lines (50 loc) 865 B
export declare enum HalType { BIT = 1, FLOAT = 2, S32 = 3, U32 = 4, S64 = 6, U64 = 7 } export declare enum HalPinDir { IN = 16, OUT = 32, IO = 48,// 48 DIR_UNSPECIFIED = -1 } export declare enum HalParamDir { RO = 64, RW = 192 } export declare enum RtapiMsgLevel { NONE = 0, ERR = 1, WARN = 2, INFO = 3, DBG = 4, ALL = 5 } export interface HalPinInfo { name: string; value: any; type: HalType; direction: HalPinDir; ownerId: number; signalName?: string; } export interface HalSignalInfo { name: string; value: any; type: HalType; driver: string | null; readers: number; writers: number; bidirs: number; } export interface HalParamInfo { name: string; value: any; type: HalType; direction: HalParamDir; ownerId: number; }