![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427179.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
172
RabbitCore RCM3309/RCM3319
rn_reset
int rn_reset(int handle, int resettype);
DESCRIPTION
Sends a reset sequence to the specified peripheral card. The reset takes approximately
25 ms before the peripheral card will once again execute the application. Allow 1.5
seconds after the reset has completed before accessing the peripheral card. This func-
tion will check peripheral card information to determine that the peripheral card is con-
nected to a master.
PARAMETERS
handle
is an address index to device information. Use
rn_device()
or
rn_find()
to establish the handle.
resettype
describes the type of reset.
0 = hard reset—equivalent to power-up. All logic is reset.
1 = soft reset—only the microprocessor logic is reset.
RETURN VALUE
The status byte from the previous command.
-1 means that device information indicates the peripheral card is not connected to the
master.
179 / 191
179 / 191