- Input:
- chain
- natural
- crate
- natural
- Output:
- numeric boolean
- C function:
- rockt_tl_ispresent
Querry if ROCK is present
rock open chain crate
- Input:
- chain
- natural
- crate
- natural
- Output:
- ROCKT_OTrid
- C function:
- rockt_tl_open
rock close rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_close
rock raw open vme_addr [options]
- Input:
- vme_addr
- natural
- "-vmeam" vme_am
- integer
defaults to 0x09
- "-vmesize" vme_size
- integer
defaults to offs+0x40
- "-offset" offs
- integer
defaults to 0
- Output:
- ROCKT_OTrid
- C function:
- rockt_tl_raw_open
Open the ROCK using fisical address
rock raw read reg rid
- Input:
- reg
- ROCKT_ITreadreg
- rid
- ROCKT_ITrid
- Output:
- natural
- C function:
- rockt_tl_read
Read a register
rock raw write reg rid value [options]
- Input:
- reg
- ROCKT_ITwritereg
- rid
- ROCKT_ITrid
- value
- natural
- "-or" or
- natural
Apply an or befor writing (after the and)
- "-and" and
- natural
Apply an and befor writing (before the or)
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_write
Write into a register
rock raw readpage internal rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTreadpage_internal
- C function:
- rockt_tl_readpage_internal
Read the internal page
rock raw readpage info rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTreadpage_info
- C function:
- rockt_tl_readpage_info
Read the info page
rock get bit rid
- Input:
- bit
- ROCKT_ITgetreg
- rid
- ROCKT_ITrid
- Output:
- natural
- C function:
- rockt_tl_get
Get a bit
rock set bit rid value
- Input:
- bit
- ROCKT_ITsetreg
- rid
- ROCKT_ITrid
- value
- natural
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_set
Set a bit
rock read reset rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecreset
- C function:
- rockt_tl_decode_reset
Decode the reset register
rock read FIFO rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecfifo
- C function:
- rockt_tl_decode_fifo
Decode the FIFO register
rock read Watchdog rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecwatchdog
- C function:
- rockt_tl_decode_watchdog
Decode the Watchdog register
rock read CSR0 rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdeccsr0
- C function:
- rockt_tl_decode_csr0
Decode the CSR0 register
rock read CSR1 rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdeccsr1
- C function:
- rockt_tl_decode_csr1
Decode the CSR1 register
rock read CSR2 rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdeccsr2
- C function:
- rockt_tl_decode_csr2
Decode the CSR2 register
rock read Elapsed rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecelapsed
- C function:
- rockt_tl_decode_elapsed
Decode the Elapsed register
rock read Trigger rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdectrigger
- C function:
- rockt_tl_decode_trigger
Decode the Trigger register
rock read TQUE rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdectque
- C function:
- rockt_tl_decode_tque
Decode the TQUE register
rock read TNOW rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdectnow
- C function:
- rockt_tl_decode_tnow
Decode the TNOW register
rock read Rockinfo rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecrockinfo
- C function:
- rockt_tl_decode_rockinfo
Decode the Rockinfo register
rock read Golden rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecgolden
- C function:
- rockt_tl_decode_golden
Decode the Golden register
rock read EFIFO rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecefifo
- C function:
- rockt_tl_decode_efifo
Decode EFIFO
rock read DFIFO rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecdfifo
- C function:
- rockt_tl_decode_dfifo
Decode DFIFO
rock write reset rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITencreset
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_reset
Encode the reset register
rock write Watchdog rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITencwatchdog
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_watchdog
Encode the Watchdog register
rock write CSR0 rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITenccsr0
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_csr0
Encode the CSR0 register
rock write CSR2 rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITenccsr2
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_csr2
Encode the CSR2 register
rock write Trigger rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITenctrigger
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_trigger
Encode the Trigger register
rock write Golden rid value
- Input:
- rid
- ROCKT_ITrid
- value
- ROCKT_ITencgolden
- Output:
- ROCKT_OTdummy
- C function:
- rockt_tl_encode_golden
Encode the Golden register
rock readpage internal rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecodepage_internal
- C function:
- rockt_tl_decodepage_internal
Read the internal page
rock readpage info rid
- Input:
- rid
- ROCKT_ITrid
- Output:
- ROCKT_OTdecodepage_info
- C function:
- rockt_tl_decodepage_info
Read the info page
rock readfifo EFIFO rid [size]
- Input:
- rid
- ROCKT_ITrid
- size
- natural
Defaults to 16K
- Output:
- ROCKT_OTreadfifo_list
- C function:
- rockt_tl_readefifo
Read the EFIFO in DMA
rock readfifo DFIFO rid [size]
- Input:
- rid
- ROCKT_ITrid
- size
- natural
Defaults to 16K
- Output:
- ROCKT_OTreadfifo_list
- C function:
- rockt_tl_readdfifo
Read the DFIFO in DMA