Appendix D. Support Files

Table of Contents

D.1. pfbDefines.cfg
D.2. pfbDpMaster.cfg
D.3. pfbDpSlave.cfg
D.4. pfbFdl.cfg
D.5. pfbFdlMsg.cfg
D.6. pfbFdlSap.cfg

The following configuration files are included in the PFB Driver distribution. They are listed here for your convenience.

D.1. pfbDefines.cfg

;;****************************************************************************
;;
;; (include pfbDefines.cfg)
;; Some useful definitions to make cfg files & commands more readable
;;
;;****************************************************************************

;;
;; Generic macros to facilitate modification of registers
;;

; Set/clear/write bits in the specified page & register
(type pfbBitSet cardSet %1 %2 %3 (bor %3 %4))
(typeDesc pfbBitSet "(pfbBitSet cardId page register mask)")

(type pfbBitClear cardSet %1 %2 %3 (band %3 (bnot %4)))
(typeDesc pfbBitClear "(pfbBitClear cardId page register mask)")

(type pfbBitWrite cardSet %1 %2 %3 (bor (band %3 (bnot %4)) (band %4 %5)))
(typeDesc pfbBitWrite "(pfbBitWrite cardId page register mask value)")

;;****************************************************************************