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

-
Topic revision: r8 - 2020-11-09, PeterZumbruch - This page was cached on 2024-11-09 - 08:58.

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 | Legal notice | Privacy Policy (german)