ESIEE, Slide 71 Copyright © 2003 Texas Instruments. All rights reserved. Initializing CSL Config Structures Creating register masks Creating register
{"Image DocumentName": "Initializing CSL Config Structures", "Image ImageDescription": "Creating register masks. User generated. Use PER_REG_RMK macros provided by CSL. DMA_DMAGCR_RMK(0,0,1) Use other pre-defined CSL macros such as PER_FMK(reg,field,val) to create mask. DMA_FMK(DMAGCR,FREE,1) CSL provides several macros that can be used to create register values for initializing the configuration data structure. The PER_REG_RMK macros may be used to create register values based on the values of individual bit fields. The _RMK macros take as arguments the values for each writable bit field within a peripheral control register. This requires a that a value be passed for each writable field. This is a valuable tool when a large number of fields or an initial value for each field must be set. If only one or two fields need to be set, then the PER_FMK macros can be used to form values for a single field. The values created by PER_FMK macros may be ORed together to form a complete register value.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}