46 #ifndef ti_dl_dl_factoryregion__include 47 #define ti_dl_dl_factoryregion__include 52 #include <ti/devices/msp/msp.h> 71 FACTORYREGION->SRAMFLASH & FACTORYREGION_SRAMFLASH_MAINFLASH_SZ_MASK);
82 (FACTORYREGION->SRAMFLASH & FACTORYREGION_SRAMFLASH_SRAM_SZ_MASK) >>
83 FACTORYREGION_SRAMFLASH_SRAM_SZ_OFS);
93 return ((FACTORYREGION->SRAMFLASH &
94 FACTORYREGION_SRAMFLASH_DATAFLASH_SZ_MASK) >>
95 FACTORYREGION_SRAMFLASH_DATAFLASH_SZ_OFS);
105 return (((FACTORYREGION->SRAMFLASH &
106 FACTORYREGION_SRAMFLASH_MAINNUMBANKS_MASK) >>
107 FACTORYREGION_SRAMFLASH_MAINNUMBANKS_OFS) +
118 return (FACTORYREGION->TRACEID & FACTORYREGION_TRACEID_DATA_MASK);
129 (FACTORYREGION->DEVICEID & FACTORYREGION_DEVICEID_MANUFACTURER_MASK) >>
130 FACTORYREGION_DEVICEID_MANUFACTURER_OFS);
140 return ((FACTORYREGION->DEVICEID & FACTORYREGION_DEVICEID_PARTNUM_MASK) >>
141 FACTORYREGION_DEVICEID_PARTNUM_OFS);
151 return ((FACTORYREGION->DEVICEID & FACTORYREGION_DEVICEID_VERSION_MASK) >>
152 FACTORYREGION_DEVICEID_VERSION_OFS);
162 return ((FACTORYREGION->USERID & FACTORYREGION_USERID_PART_MASK) >>
163 FACTORYREGION_USERID_PART_OFS);
173 return ((FACTORYREGION->USERID & FACTORYREGION_USERID_VARIANT_MASK) >>
174 FACTORYREGION_USERID_VARIANT_OFS);
189 return ((FACTORYREGION->USERID & FACTORYREGION_USERID_MINORREV_MASK) >>
190 FACTORYREGION_USERID_MINORREV_OFS);
204 return ((FACTORYREGION->USERID & FACTORYREGION_USERID_MAJORREV_MASK) >>
205 FACTORYREGION_USERID_MAJORREV_OFS);
215 return ((FACTORYREGION->BSLPIN_UART &
216 FACTORYREGION_BSLPIN_UART_UART_RXD_PAD_MASK) >>
217 FACTORYREGION_BSLPIN_UART_UART_RXD_PAD_OFS);
227 return ((FACTORYREGION->BSLPIN_UART &
228 FACTORYREGION_BSLPIN_UART_UART_RXD_PF_MASK) >>
229 FACTORYREGION_BSLPIN_UART_UART_RXD_PF_OFS);
239 return ((FACTORYREGION->BSLPIN_UART &
240 FACTORYREGION_BSLPIN_UART_UART_TXD_PAD_MASK) >>
241 FACTORYREGION_BSLPIN_UART_UART_TXD_PAD_OFS);
251 return ((FACTORYREGION->BSLPIN_UART &
252 FACTORYREGION_BSLPIN_UART_UART_TXD_PF_MASK) >>
253 FACTORYREGION_BSLPIN_UART_UART_TXD_PF_OFS);
263 return ((FACTORYREGION->BSLPIN_I2C &
264 FACTORYREGION_BSLPIN_I2C_I2C_SDA_PAD_MASK) >>
265 FACTORYREGION_BSLPIN_I2C_I2C_SDA_PAD_OFS);
275 return ((FACTORYREGION->BSLPIN_I2C &
276 FACTORYREGION_BSLPIN_I2C_I2C_SDA_PF_MASK) >>
277 FACTORYREGION_BSLPIN_I2C_I2C_SDA_PF_OFS);
287 return ((FACTORYREGION->BSLPIN_I2C &
288 FACTORYREGION_BSLPIN_I2C_I2C_SCL_PAD_MASK) >>
289 FACTORYREGION_BSLPIN_I2C_I2C_SCL_PAD_OFS);
299 return ((FACTORYREGION->BSLPIN_I2C &
300 FACTORYREGION_BSLPIN_I2C_I2C_SCL_PF_MASK) >>
301 FACTORYREGION_BSLPIN_I2C_I2C_SCL_PF_OFS);
311 return ((FACTORYREGION->BSLPIN_INVOKE &
312 FACTORYREGION_BSLPIN_INVOKE_GPIO_LEVEL_MASK) >>
313 FACTORYREGION_BSLPIN_INVOKE_GPIO_LEVEL_OFS);
323 return ((FACTORYREGION->BSLPIN_INVOKE &
324 FACTORYREGION_BSLPIN_INVOKE_GPIO_PIN_SEL_MASK) >>
325 FACTORYREGION_BSLPIN_INVOKE_GPIO_PIN_SEL_OFS);
335 return ((FACTORYREGION->BSLPIN_INVOKE &
336 FACTORYREGION_BSLPIN_INVOKE_GPIO_REG_SEL_MASK) >>
337 FACTORYREGION_BSLPIN_INVOKE_GPIO_REG_SEL_OFS);
347 return ((FACTORYREGION->BSLPIN_INVOKE &
348 FACTORYREGION_BSLPIN_INVOKE_BSL_PAD_MASK) >>
349 FACTORYREGION_BSLPIN_INVOKE_BSL_PAD_OFS);
360 (FACTORYREGION->TEMP_SENSE0 & FACTORYREGION_TEMP_SENSE0_DATA_MASK) >>
361 FACTORYREGION_TEMP_SENSE0_DATA_OFS);
373 return ((FACTORYREGION->BOOTCRC & FACTORYREGION_BOOTCRC_DATA_MASK) >>
374 FACTORYREGION_BOOTCRC_DATA_OFS);
__STATIC_INLINE uint8_t DL_FactoryRegion_getUserIDMajorRev(void)
Get the value that preserves compatibility with lesser majorrev values.
Definition: dl_factoryregion.h:202
__STATIC_INLINE uint8_t DL_FactoryRegion_getUserIDVariant(void)
Get the bit pattern identifying a variant of a part.
Definition: dl_factoryregion.h:171
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinUARTTXDFunction(void)
Get the UART TXD Pin function selection value used by BSL.
Definition: dl_factoryregion.h:249
__STATIC_INLINE uint16_t DL_FactoryRegion_getManufacturerCode(void)
Get JEDEC bank and company code.
Definition: dl_factoryregion.h:126
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinI2CSDAPad(void)
Get the I2C SDA Pin used by BSL.
Definition: dl_factoryregion.h:261
__STATIC_INLINE uint8_t DL_FactoryRegion_getNumBanks(void)
Get the number of Flash banks on the device.
Definition: dl_factoryregion.h:103
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinUARTRXDFunction(void)
Get the UART RXD Pin function selection value used by BSL.
Definition: dl_factoryregion.h:225
__STATIC_INLINE uint8_t DL_FactoryRegion_getUserIDMinorRev(void)
Get the value that preserves compatibility with lesser minorrev values.
Definition: dl_factoryregion.h:187
__STATIC_INLINE uint16_t DL_FactoryRegion_getMAINFlashSize(void)
Get the size of the MAIN Flash region.
Definition: dl_factoryregion.h:68
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinI2CSCLFunction(void)
Get the I2C SCL Pin function selection value used by BSL.
Definition: dl_factoryregion.h:297
__STATIC_INLINE uint16_t DL_FactoryRegion_getPartNumber(void)
Get the part number of the device.
Definition: dl_factoryregion.h:138
__STATIC_INLINE uint32_t DL_FactoryRegion_getBOOTCRCData(void)
Get the BOOTCRC value.
Definition: dl_factoryregion.h:371
__STATIC_INLINE uint16_t DL_FactoryRegion_getUserIDPart(void)
Get the bit pattern identifying the part.
Definition: dl_factoryregion.h:160
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinInvokeGPIOPModule(void)
Get the GPIO module selection used by BSL pin invocation.
Definition: dl_factoryregion.h:333
__STATIC_INLINE uint8_t DL_FactoryRegion_getDATAFlashSize(void)
Get the size of the DATA Flash region.
Definition: dl_factoryregion.h:91
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinI2CSCLPad(void)
Get the I2C SCL Pin used by BSL.
Definition: dl_factoryregion.h:285
__STATIC_INLINE uint32_t DL_FactoryRegion_getTemperatureVoltage(void)
Get the ADC conversion results of temperature sensor output voltage.
Definition: dl_factoryregion.h:357
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinInvokeGPIOLevel(void)
Get the GPIO level used by BSL pin invocation.
Definition: dl_factoryregion.h:309
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinI2CSDAFunction(void)
Get the I2C SDA Pin function selection value used by BSL.
Definition: dl_factoryregion.h:273
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinInvokeGPIOPModulePad(void)
Get the BSL invocation pin number.
Definition: dl_factoryregion.h:345
__STATIC_INLINE uint32_t DL_FactoryRegion_getTraceID(void)
Get the trace ID of the device.
Definition: dl_factoryregion.h:116
__STATIC_INLINE uint16_t DL_FactoryRegion_getSRAMFlashSize(void)
Get the size of the SRAM Flash region.
Definition: dl_factoryregion.h:79
__STATIC_INLINE uint8_t DL_FactoryRegion_getVersion(void)
Get the version of the device.
Definition: dl_factoryregion.h:149
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinInvokeGPIOPin(void)
Get the GPIO Pin selection value used by BSL pin invocation.
Definition: dl_factoryregion.h:321
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinUARTRXDPad(void)
Get the UART RXD PIN used by BSL.
Definition: dl_factoryregion.h:213
__STATIC_INLINE uint8_t DL_FactoryRegion_getBSLPinUARTTXDPad(void)
Get the UART TXD PIN used by BSL.
Definition: dl_factoryregion.h:237