MCPcopy Create free account
hub / github.com/Marus/cortex-debug / getRxPacket

Method getRxPacket

src/frontend/swo/core.ts:79–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78
79 private getRxPacket(): Packet {
80 return {
81 type: this.rxPacketType,
82 port: this.rxPort,
83 size: this.rxCount,
84 data: this.rxBuffer
85 };
86 }
87
88 private checkSync(byte: number) {
89 this.syncBuffer.enq(byte);

Callers 1

processByteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected