Expand description
Record field tables generated from the vendored EPICS .dbd record
declarations — the machine-readable spec every FieldDesc used to be
hand-copied from.
@generated by tools/dbd-codegen from crates/std-rs/dbd/*.dbd.
DO NOT EDIT. Re-run cargo run -p dbd-codegen -- --write after changing a
vendored .dbd. Drift is caught by dbd_codegen::tests::generated_files_are_not_stale,
which cargo nextest run executes — locally and in CI — so a stale table
is a failing test, not a comment asking you to remember.
What is not here, and why:
dbCommonfields. The port models them once inCommonFields, so splicing them into every record table would double-declare them. Base’s table emits them separately asDB_COMMON_FIELDSso the two models can be reconciled (and so adbCommonaddition is a diff, not a silent gap).DBF_NOACCESSfields (RSET,DPVT,MLOK,BPTR,PPN, …). These are C-internal pointers with no CA/PVA representation — C’smapDBFToDBRsends them toDBR_NOACCESSanddbChannelCreaterefuses a channel on them. A Rust port has no pointer to expose, so they are dropped rather than invented; the count is reported by the generator.
Statics§
- EPID_
FIELDS recordtype(epid)— 49 CA-visible own fields fromdbd/epidRecord.dbd(2DBF_NOACCESSinternals dropped).- MENU_
EPID_ FEEDBACK_ MODE menu(epidFeedbackMode)- MENU_
EPID_ FEEDBACK_ STATE menu(epidFeedbackState)- MENU_
THROTTLE_ DRVLC menu(throttleDRVLC)- MENU_
THROTTLE_ DRVLS menu(throttleDRVLS)- MENU_
THROTTLE_ OV menu(throttleOV)- MENU_
THROTTLE_ STS menu(throttleSTS)- MENU_
THROTTLE_ SYNC menu(throttleSYNC)- MENU_
THROTTLE_ WAIT menu(throttleWAIT)- MENU_
TIMESTAMP_ TST menu(timestampTST)- RECORD_
TYPES - Every record type a vendored
.dbddeclares, in.dbdname order. - THROTTLE_
FIELDS recordtype(throttle)— 21 CA-visible own fields fromdbd/throttleRecord.dbd(1DBF_NOACCESSinternals dropped).- TIMESTAMP_
FIELDS recordtype(timestamp)— 4 CA-visible own fields fromdbd/timestampRecord.dbd(0DBF_NOACCESSinternals dropped).
Functions§
- menu_
choices - Every
menu()declared by a vendored.dbd, keyed by its EPICS name. - record_
fields - The record-own field table for a record type name, or
Nonefor a type no vendored.dbddeclares.