Code Samples

CODE EXAMPLE 1-1small space Include File w d_if.h 10

CODE EXAMPLE 1-2small space Status of Watchdog Timers and Starting Timers 14

CODE EXAMPLE 2-1small space PROM Information Structure 28

CODE EXAMPLE 2-2small space User Flash Interface Structure 28

CODE EXAMPLE 2-3small space Read Action on User Flash Device 30

CODE EXAMPLE 2-4small space Write Action on User Flash Device 32

CODE EXAMPLE 2-5small space Erase Action on User Flash Device 35

CODE EXAMPLE 2-6small space Block Erase Action on User Flash Device 37

CODE EXAMPLE 2-7small space Sample User Flash Application Program 39

CODE EXAMPLE 3-1small space Input Output Control Data Structure 75

CODE EXAMPLE 3-2small space Sample ASM Application Program 75

CODE EXAMPLE 4-1small space Application Programming Interface for the Netra CP2140 Board 84

CODE EXAMPLE 4-2small space Application Programming Interface for the Netra CP2160 Board 84

CODE EXAMPLE 5-1small space HSIOC_GET_INFO ioctl() Header File 89

CODE EXAMPLE 5-2small space Using cphsc to Find Device Type Information 91

CODE EXAMPLE 5-3small space Netra CP2100 Series Software Header File 102

CODE EXAMPLE 6-1small space RCM Script Example ( SUNW,cp2000_io.pl ) 109