Home
last modified time | relevance | path

Searched refs:FLASH_Pages (Results 1 – 25 of 29) sorted by relevance

12

/bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/
A DHAL_flash.c479 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
486 assert_param(IS_FLASH_WRPROT_PAGE(FLASH_Pages)); in FLASH_EnableWriteProtection()
488 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
489 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
490 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
491 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
492 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/
A DHAL_flash.c487 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
494 assert_param(IS_FLASH_WRPROT_PAGE(FLASH_Pages)); in FLASH_EnableWriteProtection()
498 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
499 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
500 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
501 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
502 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/
A DHAL_flash.c487 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
494 assert_param(IS_FLASH_WRPROT_PAGE(FLASH_Pages)); in FLASH_EnableWriteProtection()
498 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
499 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
500 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
501 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
502 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f10x_flash.c372 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
378 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
379 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
380 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
381 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
382 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_flash.c505 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
512 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
521 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
522 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
523 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
524 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
525 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_flash.c505 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
512 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
521 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
522 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
523 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
524 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
525 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_flash.c505 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
512 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
521 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
522 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
523 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
524 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
525 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_flash.c506 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
513 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
522 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
523 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
524 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
525 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
526 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f20x_flash.c387 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
393 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
394 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
395 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
396 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
397 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32v10x_flash.c424 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
430 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
431 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
432 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
433 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
434 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/
A Dair32f10x_flash.c1043 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages) in FLASH_EnableWriteProtection() argument
1050 assert_param(IS_FLASH_WRPROT_PAGE(FLASH_Pages)); in FLASH_EnableWriteProtection()
1052 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnableWriteProtection()
1053 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_Mask); in FLASH_EnableWriteProtection()
1054 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_Mask) >> 8); in FLASH_EnableWriteProtection()
1055 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_Mask) >> 16); in FLASH_EnableWriteProtection()
1056 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_Mask) >> 24); in FLASH_EnableWriteProtection()
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_flash.c822 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
829 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
838 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
839 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
840 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
841 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
842 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_flash.c822 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
829 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
838 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
839 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
840 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
841 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
842 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_flash.c822 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages) in FLASH_EnWriteProtection() argument
829 assert_param(IS_FLASH_WRP_PAGE(FLASH_Pages)); in FLASH_EnWriteProtection()
838 FLASH_Pages = (uint32_t)(~FLASH_Pages); in FLASH_EnWriteProtection()
839 WRP0_Data = (uint16_t)(FLASH_Pages & WRP0_MSK); in FLASH_EnWriteProtection()
840 WRP1_Data = (uint16_t)((FLASH_Pages & WRP1_MSK) >> 8); in FLASH_EnWriteProtection()
841 WRP2_Data = (uint16_t)((FLASH_Pages & WRP2_MSK) >> 16); in FLASH_EnWriteProtection()
842 WRP3_Data = (uint16_t)((FLASH_Pages & WRP3_MSK) >> 24); in FLASH_EnWriteProtection()
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32f10x_flash.h125 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32f20x_flash.h125 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32v10x_flash.h125 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/tkm32F499/Libraries/Hal_lib/inc/
A DHAL_flash.h281 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/
A Dn32g45x_flash.h343 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages);
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/inc/
A Dn32g4fr_flash.h343 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages);
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/inc/
A Dn32wb452_flash.h343 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages);
/bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/inc/
A DHAL_flash.h281 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/inc/
A DHAL_flash.h281 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/mm32f103x/Libraries/MM32F103/HAL_lib/inc/
A DHAL_flash.h281 FLASH_Status FLASH_EnableWriteProtection(uint32_t FLASH_Pages);
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/
A Dn32g45x_flash.h343 FLASH_STS FLASH_EnWriteProtection(uint32_t FLASH_Pages);

Completed in 58 milliseconds

12