Class AvmTransactionsGen2
Methods
iord
- iord(address: number, offset: number): Promise<number>
- iord(address: number, offset: number, callback: function): void
-
Parameters
-
address: number
-
offset: number
Returns Promise<number>
-
Parameters
-
address: number
-
offset: number
-
callback: function
-
- (err: Error, result?: number): void
-
Parameters
-
err: Error
-
Optional result: number
Returns void
Returns void
iowr
- iowr(address: number, offset: number, writeData: number): Promise<void>
- iowr(address: number, offset: number, writeData: number, callback: function): void
-
Parameters
-
address: number
-
offset: number
-
writeData: number
Returns Promise<void>
-
Parameters
-
address: number
-
offset: number
-
writeData: number
-
callback: function
Returns void
read
- read(address: number, byteLength: number): Promise<Buffer>
- read(address: number, byteLength: number, callback: function): void
-
Parameters
-
address: number
-
byteLength: number
Returns Promise<Buffer>
-
Parameters
-
address: number
-
byteLength: number
-
callback: function
-
- (err: Error, result?: Buffer): void
-
Parameters
-
err: Error
-
Optional result: Buffer
Returns void
Returns void
testNoTransactionPacket
- testNoTransactionPacket(address: number): Promise<void>
- testNoTransactionPacket(address: number, callback: function): void
-
Parameters
Returns Promise<void>
-
Parameters
-
address: number
-
callback: function
Returns void
write
- write(address: number, writeData: Buffer): Promise<void>
- write(address: number, writeData: Buffer, callback: function): void
-
Parameters
-
address: number
-
writeData: Buffer
Returns Promise<void>
-
Parameters
-
address: number
-
writeData: Buffer
-
callback: function
Returns void
AvalonMMペリフェラルリード(IORD, リトルエンディアンの32-bit符号無し整数)