OpenHantek
Public Member Functions
Hantek::BulkSetBuffer5200 Class Reference

The DSO-5200/DSO-5200A BulkCode::DSETBUFFER builder. More...

#include <bulkStructs.h>

Inheritance diagram for Hantek::BulkSetBuffer5200:
BulkCommand

Public Member Functions

 BulkSetBuffer5200 ()
 Sets the data array to the default values.
 
 BulkSetBuffer5200 (uint16_t triggerPositionPre, uint16_t triggerPositionPost, DTriggerPositionUsed usedPre=DTriggerPositionUsed::OFF, DTriggerPositionUsed usedPost=DTriggerPositionUsed::OFF, uint8_t recordLength=0)
 Sets the data bytes to the specified values. More...
 
uint16_t getTriggerPositionPre ()
 Get the TriggerPositionPre value. More...
 
void setTriggerPositionPre (uint16_t value)
 Set the TriggerPositionPre to the given value. More...
 
uint16_t getTriggerPositionPost ()
 Get the TriggerPositionPost value. More...
 
void setTriggerPositionPost (uint16_t value)
 Set the TriggerPositionPost to the given value. More...
 
uint8_t getUsedPre ()
 Get the TriggerPositionUsedPre value. More...
 
void setUsedPre (DTriggerPositionUsed value)
 Set the TriggerPositionUsedPre to the given value. More...
 
DTriggerPositionUsed getUsedPost ()
 Get the TriggerPositionUsedPost value. More...
 
void setUsedPost (DTriggerPositionUsed value)
 Set the TriggerPositionUsedPost to the given value. More...
 
uint8_t getRecordLength ()
 Get the recordLength value in DBufferBits. More...
 
void setRecordLength (uint8_t value)
 Set the recordLength in DBufferBits to the given value. More...
 

Additional Inherited Members

- Data Fields inherited from BulkCommand
Hantek::BulkCode code
 
bool pending = false
 
BulkCommandnext = nullptr
 
- Protected Member Functions inherited from BulkCommand
 BulkCommand (Hantek::BulkCode code, unsigned size)
 

Detailed Description

The DSO-5200/DSO-5200A BulkCode::DSETBUFFER builder.

Constructor & Destructor Documentation

◆ BulkSetBuffer5200()

Hantek::BulkSetBuffer5200::BulkSetBuffer5200 ( uint16_t  triggerPositionPre,
uint16_t  triggerPositionPost,
DTriggerPositionUsed  usedPre = DTriggerPositionUsed::OFF,
DTriggerPositionUsed  usedPost = DTriggerPositionUsed::OFF,
uint8_t  recordLength = 0 
)

Sets the data bytes to the specified values.

Parameters
triggerPositionPreThe TriggerPositionPre value.
triggerPositionPostThe TriggerPositionPost value.
usedPreThe TriggerPositionUsedPre value.
usedPostThe TriggerPositionUsedPost value.
recordLengthThe ::RecordLengthId value.

Member Function Documentation

◆ getRecordLength()

uint8_t Hantek::BulkSetBuffer5200::getRecordLength ( )

Get the recordLength value in DBufferBits.

Returns
The ::RecordLengthId value.

◆ getTriggerPositionPost()

uint16_t Hantek::BulkSetBuffer5200::getTriggerPositionPost ( )

Get the TriggerPositionPost value.

Returns
The TriggerPositionPost value.

◆ getTriggerPositionPre()

uint16_t Hantek::BulkSetBuffer5200::getTriggerPositionPre ( )

Get the TriggerPositionPre value.

Returns
The TriggerPositionPre value.

◆ getUsedPost()

DTriggerPositionUsed Hantek::BulkSetBuffer5200::getUsedPost ( )

Get the TriggerPositionUsedPost value.

Returns
The ::DTriggerPositionUsed value for the post position.

◆ getUsedPre()

uint8_t Hantek::BulkSetBuffer5200::getUsedPre ( )

Get the TriggerPositionUsedPre value.

Returns
The ::DTriggerPositionUsed value for the pre position.

◆ setRecordLength()

void Hantek::BulkSetBuffer5200::setRecordLength ( uint8_t  value)

Set the recordLength in DBufferBits to the given value.

Parameters
valueThe new ::RecordLengthId value.

◆ setTriggerPositionPost()

void Hantek::BulkSetBuffer5200::setTriggerPositionPost ( uint16_t  position)

Set the TriggerPositionPost to the given value.

Parameters
positionThe new TriggerPositionPost value.

◆ setTriggerPositionPre()

void Hantek::BulkSetBuffer5200::setTriggerPositionPre ( uint16_t  position)

Set the TriggerPositionPre to the given value.

Parameters
positionThe new TriggerPositionPre value.

◆ setUsedPost()

void Hantek::BulkSetBuffer5200::setUsedPost ( DTriggerPositionUsed  value)

Set the TriggerPositionUsedPost to the given value.

Parameters
valueThe new ::DTriggerPositionUsed value for the post position.

◆ setUsedPre()

void Hantek::BulkSetBuffer5200::setUsedPre ( DTriggerPositionUsed  value)

Set the TriggerPositionUsedPre to the given value.

Parameters
valueThe new ::DTriggerPositionUsed value for the pre position.

The documentation for this class was generated from the following files: