EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdreset

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
92
Chapter 3 System Functions
3.1.14 ApiCmdReset
Prototype:
AiInt16 ApiCmdReset( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 rc,
TY_API_RESET_INFO *pres );
Driver Command:
API_RESET (0x31)
Purpose:
This function initializes the AIM board Hardware and the ASP Driver Software data
structures and variables to an initial state. The ApiCmdReset function reports memory
configuration information and has to be applied before using any of the API S/W library
functions described in the following sections. MILBus protocol will be set to a default
value of Type B (1553B). Response Timeout will be set to a default value of 14µs.
Note: The LS Monitor Buffer size is set to 512 Kbytes, the LS Simulator Buffer Size is
set to 256 Kbytes!
Note: When using a 3910 board this command also sets default size values for HS
Monitor and HS Simulator Area. The HS Monitor Buffer size is set to the half
size of the onboard Global RAM (which is currently available with 4 or 8
Mbytes). The default HS Simulator Buffer Size is set to 0.5 Mbytes (with
4 MBytes Global RAM) or 2.5 Mbytes (with 8 Mbytes Global RAM)!
Input
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
c
c
Reset Control
Value
Constant
Description
0
API_RESET_ALL
Complete Reset
1
API_RESET_WITHOUT_MONITOR
Partial Reset excluding:
- transmitter amplitude
- bus connection and coupling
- bus monitor
2
API_RESET_WITHOUT_SIMBUF
Partial Reset excluding:
- BC/RT buffer area
3
API_RESET_WITHOUT_SIMBUF_MON
Partial Reset excluding:
- transmitter amplitude
- bus connection and coupling
- bus monitor
- BC/RT buffer area
4
API_RESET_ONLY_IF_NOT_ALREADY_RESETTED
Complete Reset, if no reset has
been done previously.
In the other case a call to this
function does not have any
effect.
0x40
API_RESET_USE_COUNTER_MODE_2
Use global BC and RT counters
increment also on errors
0x80
API_RESET_ENABLE_1760
Enable 1760 simulation mode
Refer to ApiCmdBufC1760Con

Table of Contents

Other manuals for Aim MIL-STD-1553