CSL的宏定义中包括CSL_FMK Field Make、CSL_FEXT Field Extract、CSL_FINS Field Insert等,在cslr_userguide中这样解释,
Field make macros are used to create a register value from given input, and are written to the
hardware register with the pointer to the register member in the Register Overlay Structure. Field
make macros may be combined with OR opera
tions in order to modify more than one field or the
entire register. Unlike the field make macros, the field insert macros pass the register pointer as
an argument, thus modify the specified register directly. Field extract macros read the register
and return the value right-justified.
还是看不明白,尤其是CSL_FMK Field Make的含义,求指点啊