8 #ifndef _NTV2SERIALCONTROL_H 9 #define _NTV2SERIALCONTROL_H 15 #define NTV2_SERIAL_RESPONSE_SIZE 64 41 virtual inline bool Open (
void) {
return _ntv2Card.IsOpen ();}
42 virtual inline void Close (
void) {}
56 virtual bool WriteCommand (
const UByte * txBuffer,
bool response =
true);
58 virtual bool WriteTxBuffer (
const UByte * txBuffer,
UWord length);
59 virtual bool ReadRxBuffer (
UByte * rxBuffer,
UWord & actualLength,
UWord maxlength);
61 virtual bool GotACK (
void);
63 virtual bool WaitForRxInterrupt (
void);
64 virtual bool WaitForTxInterrupt (
void);
77 #if !defined (NTV2_DEPRECATE) 81 #endif // _NTV2SERIALCONTROL_H
virtual ULWord ReversePlay(void)
SerialMachineResponse _serialMachineResponse
I interrogate and control an AJA video/audio capture/playout device.
virtual ULWord Rewind(void)
virtual ULWord Play(void)
virtual ULWord GotoFrameByHMS(UByte inHrs, UByte inMins, UByte inSecs, UByte inFrames)
virtual ULWord FastForward(void)
virtual const SerialMachineResponse & GetLastResponse(void) const
Defines the import/export macros for producing DLLs or LIBs.
virtual ULWord BackFrame(void)
RegisterNum _receiveRegisterNum
Which UART receive data register to use: kRegRS422Receive (71) or kRegRS4222Receive (245) ...
virtual ULWord AdvanceFrame(void)
A base class for deck control.
virtual ULWord GetTimecodeString(SByte *pOutTimecodeString)
virtual ULWord Stop(void)
Declares the CNTV2Card class.
This sample class demonstrates how to use the Corvid/Kona/Io UART RS422 port(s). It is NOT intended t...
RegisterNum _transmitRegisterNum
Which UART transmit data register to use: kRegRS422Transmit (70) or kRegRS4222Transmit (244) ...
#define NTV2_SERIAL_RESPONSE_SIZE
RegisterNum _controlRegisterNum
Which UART control register to use: kRegRS422Control (72) or kRegRS4222Control (246) ...