Epics@GSI Webhome

HadCon Multipurpose Controls Protocol Cmnd RGWR

Introduction

Command description of the API command RGWR for HadCon2 .

With the help of the RGWR command, you could set every register on the mcu AT90CAN128 and get immediately the written value.

Main

RGWR cmnd

Form:

RGWR <Register> <Value>

<Register> : the register address has to be written in hexadecimal

<Value> : here has to be written the new register value in hexadecimal


Example command:
( toggling LEDs, by writing 1 to the PING0-PING5 registers while DDRG are set to outputs )
send: RGRE 32
(e.g.:)
receive: RECV RGRE 32 1c (11100)
send: RGWR 32 7
receive: RECV RGWR 7: value 1b has been written and readback does not match (1b)
(since PINs are outputs)
send: RGRE 32
receinve: RECV RGRE 32 1b


-- PeterZumbruch - 2020-01-22
-- PeterZumbruch - 2020-11-09

-

This topic: Epics > WebHome > EpicsProjectsAndActivities > HardwarePlatforms > HadCon2 > HadCon2MultipurposeControlsApi > HadConMultipurposeControlsProtocol > HadConMultipurposeControlsProtocolCmndRGWR
Topic revision: 2020-11-09, PeterZumbruch
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Imprint (german) | Privacy Policy (german)