Home
last modified time | relevance | path

Searched refs:ui32SectorNumber (Results 1 – 2 of 2) sorted by relevance

/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Dflash.c211 uint32_t ui32SectorNumber; in FlashProtectionSet() local
223 ui32SectorNumber = (ui32SectorAddress - FLASHMEM_BASE) / in FlashProtectionSet()
227 if(ui32SectorNumber <= 31) in FlashProtectionSet()
229 HWREG(FLASH_BASE + FLASH_O_FSM_BSLE0) |= (1 << ui32SectorNumber); in FlashProtectionSet()
230 HWREG(FLASH_BASE + FLASH_O_FSM_BSLP0) |= (1 << ui32SectorNumber); in FlashProtectionSet()
232 else if(ui32SectorNumber <= 43) in FlashProtectionSet()
235 (1 << (ui32SectorNumber & 0x1F)); in FlashProtectionSet()
237 (1 << (ui32SectorNumber & 0x1F)); in FlashProtectionSet()
239 else if(ui32SectorNumber <= 75) in FlashProtectionSet()
243 ui32SectorNumber -= 44; in FlashProtectionSet()
[all …]
/hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Dflash.c209 uint32_t ui32SectorNumber; in FlashProtectionSet() local
218 ui32SectorNumber = (ui32SectorAddress - FLASHMEM_BASE) / in FlashProtectionSet()
222 if(ui32SectorNumber <= 31) in FlashProtectionSet()
224 HWREG(FLASH_BASE + FLASH_O_FSM_BSLE0) |= (1 << ui32SectorNumber); in FlashProtectionSet()
225 HWREG(FLASH_BASE + FLASH_O_FSM_BSLP0) |= (1 << ui32SectorNumber); in FlashProtectionSet()
227 else if(ui32SectorNumber <= 63) in FlashProtectionSet()
230 (1 << (ui32SectorNumber & 0x1F)); in FlashProtectionSet()
232 (1 << (ui32SectorNumber & 0x1F)); in FlashProtectionSet()
248 uint32_t ui32SectorNumber; in FlashProtectionGet() local
256 ui32SectorNumber = (ui32SectorAddress - FLASHMEM_BASE) / FlashSectorSizeGet(); in FlashProtectionGet()
[all …]