G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Flash option byte programming

Functions

__STATIC_INLINE void DDL_FLASH_SetReadProtectionCacheBit (uint32_t level)
 Set read protection cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetReadProtectionCacheBit (void)
 Get read protection cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetReadProtectionBitInOptionByte (void)
 Get the read protection bit in the option byte.
__STATIC_INLINE void DDL_FLASH_SetWriteProtectionEnableCacheBit (uint32_t isEnabled)
 Set write protection enable cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionEnableCacheBit (void)
 Get write protection enable cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionEnableBitInOptionByte (void)
 Get the write protection enable bit in the option byte.
__STATIC_INLINE void DDL_FLASH_SetWriteProtectionCacheBit (uint32_t sectorBlock)
 Set write protection cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionCacheBit (void)
 Get write protection cache bit.
__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionBitInOptionByte (void)
 Get the write protection bit in the option byte.
__STATIC_INLINE void DDL_FLASH_SetNMIEnableCacheBit (uint32_t nmiEnable)
 Set NMI Pin Enable Configuration.
__STATIC_INLINE uint32_t DDL_FLASH_GetNMIEnableCacheBit (void)
 Get NMI Pin Enable Configuration.
__STATIC_INLINE uint32_t DDL_FLASH_GetNMIEnableCacheBitInOptionByte (void)
 Get NMI Pin Enable Configuration.
__STATIC_INLINE void DDL_FLASH_SetADCTRIMCacheBit (uint32_t adcTrim)
 Set ADC TRIM Configuration.
__STATIC_INLINE uint32_t DDL_FLASH_GetADCTRIMCacheBit (void)
 Get ADC TRIM Configuration.
__STATIC_INLINE uint32_t DDL_FLASH_GetADCTRIMCacheBitInOptionByte (void)
 Get ADC TRIM Configuration.
__STATIC_INLINE void DDL_FLASH_SetIWDTTriggerBySoftwareCacheBit (uint32_t isEnabled)
 Set IWDT software enables cache bits.
__STATIC_INLINE uint32_t DDL_FLASH_GetIWDTTriggerBySoftwareCacheBit (void)
 Get IWDT software enables cache bits.
__STATIC_INLINE uint32_t DDL_FLASH_GetIWDTTriggerBySoftwareInOptionByte (void)
 Get the IWDT software enables in the option byte.
__STATIC_INLINE void DDL_FLASH_SetWWDTTriggerBySoftwareCacheBit (uint32_t isEnabled)
 Set WWDT software enables cache bits.
__STATIC_INLINE uint32_t DDL_FLASH_GetWWDTTriggerBySoftwareCacheBit (void)
 Get WWDT software enables cache bits.
__STATIC_INLINE uint32_t DDL_FLASH_GetWWDTTriggerBySoftwareInOptionByte (void)
 Get the WWDT software enables in the option byte.
__STATIC_INLINE void DDL_FLASH_SetBootAddrCacheBit (uint32_t bootAddr)
 Set the write cache bit for setting BOOTADDR.
__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrCacheBit (void)
 Get the write cache bit for setting BOOTADDR.
__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrInOptionByte (void)
 Get the write cache bit for setting BOOTADDR in Option Byte.
__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrTransferActualAddress (void)
 Retrieve the data in the BOOTADDR option byte, which corresponds to the converted address.
__STATIC_INLINE void DDL_FLASH_OptionByteUpdate (void)
 Byte programming options.
__STATIC_INLINE uint32_t DDL_FLASH_OptionByteUpdateOngoing (void)
 Byte programming options Status.
__STATIC_INLINE void DDL_FLASH_OptionByteForcedUpdate (void)
 Forced update of the options byte.

Detailed Description

Function Documentation

◆ DDL_FLASH_GetADCTRIMCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetADCTRIMCacheBit ( void )

Get ADC TRIM Configuration.

Return values
ADCTRIM Configuration.

Definition at line 641 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetADCTRIMCacheBitInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetADCTRIMCacheBitInOptionByte ( void )

Get ADC TRIM Configuration.

Return values
ADCTRIM Configuration.

Definition at line 652 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetBootAddrCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrCacheBit ( void )

Get the write cache bit for setting BOOTADDR.

Return values
thewrite cache bit for setting BOOTADDR.. 0x0000~0xFFFF

Definition at line 741 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetBootAddrInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrInOptionByte ( void )

Get the write cache bit for setting BOOTADDR in Option Byte.

Return values
thewrite cache bit for setting BOOTADDR.. 0x0000~0xFFFF

Definition at line 751 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetBootAddrTransferActualAddress()

__STATIC_INLINE uint32_t DDL_FLASH_GetBootAddrTransferActualAddress ( void )

Retrieve the data in the BOOTADDR option byte, which corresponds to the converted address.

Return values
thewrite cache bit for setting BOOTADDR.. 0x0000~0xFFFF

Definition at line 762 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetIWDTTriggerBySoftwareCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetIWDTTriggerBySoftwareCacheBit ( void )

Get IWDT software enables cache bits.

Return values
IWDTsoftware enables cache bits.

Definition at line 675 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetIWDTTriggerBySoftwareInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetIWDTTriggerBySoftwareInOptionByte ( void )

Get the IWDT software enables in the option byte.

Return values
IWDTsoftware enables cache bits.

Definition at line 686 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetNMIEnableCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetNMIEnableCacheBit ( void )

Get NMI Pin Enable Configuration.

Return values
nmiEnableNMI Pin Enable Configuration.

Definition at line 607 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetNMIEnableCacheBitInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetNMIEnableCacheBitInOptionByte ( void )

Get NMI Pin Enable Configuration.

Return values
nmiEnableNMI Pin Enable Configuration.

Definition at line 618 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetReadProtectionBitInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetReadProtectionBitInOptionByte ( void )

Get the read protection bit in the option byte.

Return values
common value.Read Protection Level.

Definition at line 495 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetReadProtectionCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetReadProtectionCacheBit ( void )

Get read protection cache bit.

Return values
common value.Read Protection Level.

Definition at line 483 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetWriteProtectionBitInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionBitInOptionByte ( void )

◆ DDL_FLASH_GetWriteProtectionCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionCacheBit ( void )

◆ DDL_FLASH_GetWriteProtectionEnableBitInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionEnableBitInOptionByte ( void )

Get the write protection enable bit in the option byte.

Return values
common value.Write Protection Status.

Definition at line 529 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetWriteProtectionEnableCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetWriteProtectionEnableCacheBit ( void )

Get write protection enable cache bit.

Return values
common value.Write Protection Status.

Definition at line 518 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetWWDTTriggerBySoftwareCacheBit()

__STATIC_INLINE uint32_t DDL_FLASH_GetWWDTTriggerBySoftwareCacheBit ( void )

Get WWDT software enables cache bits.

Return values
WWDTsoftware enables cache bits.

Definition at line 709 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_GetWWDTTriggerBySoftwareInOptionByte()

__STATIC_INLINE uint32_t DDL_FLASH_GetWWDTTriggerBySoftwareInOptionByte ( void )

Get the WWDT software enables in the option byte.

Return values
WWDTsoftware enables cache bits.

Definition at line 720 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_OptionByteForcedUpdate()

__STATIC_INLINE void DDL_FLASH_OptionByteForcedUpdate ( void )

Forced update of the options byte.

Return values
None.

Definition at line 791 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_OptionByteUpdate()

__STATIC_INLINE void DDL_FLASH_OptionByteUpdate ( void )

Byte programming options.

Return values
None.

Definition at line 773 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_OptionByteUpdateOngoing()

__STATIC_INLINE uint32_t DDL_FLASH_OptionByteUpdateOngoing ( void )

Byte programming options Status.

Return values
None.

Definition at line 782 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetADCTRIMCacheBit()

__STATIC_INLINE void DDL_FLASH_SetADCTRIMCacheBit ( uint32_t adcTrim)

Set ADC TRIM Configuration.

Parameters
adcTrimADC TRIM Configuration.
Return values
None

Definition at line 630 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetBootAddrCacheBit()

__STATIC_INLINE void DDL_FLASH_SetBootAddrCacheBit ( uint32_t bootAddr)

Set the write cache bit for setting BOOTADDR.

Parameters
thewrite cache bit for setting BOOTADDR.. 0x0000~0xFFFF
Return values
None.

Definition at line 731 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetIWDTTriggerBySoftwareCacheBit()

__STATIC_INLINE void DDL_FLASH_SetIWDTTriggerBySoftwareCacheBit ( uint32_t isEnabled)

Set IWDT software enables cache bits.

Parameters
IWDTsoftware enables cache bits.
Return values
None.

Definition at line 664 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetNMIEnableCacheBit()

__STATIC_INLINE void DDL_FLASH_SetNMIEnableCacheBit ( uint32_t nmiEnable)

Set NMI Pin Enable Configuration.

Parameters
nmiEnableNMI Pin Enable Configuration.
Return values
None

Definition at line 596 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetReadProtectionCacheBit()

__STATIC_INLINE void DDL_FLASH_SetReadProtectionCacheBit ( uint32_t level)

Set read protection cache bit.

Parameters
FlashRead Protection Level.
Return values
None.

Definition at line 471 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetWriteProtectionCacheBit()

__STATIC_INLINE void DDL_FLASH_SetWriteProtectionCacheBit ( uint32_t sectorBlock)

◆ DDL_FLASH_SetWriteProtectionEnableCacheBit()

__STATIC_INLINE void DDL_FLASH_SetWriteProtectionEnableCacheBit ( uint32_t isEnabled)

Set write protection enable cache bit.

Parameters
FlashWrite Protection Status.
Return values
None.

Definition at line 507 of file g32r4xx_ddl_flash.h.

◆ DDL_FLASH_SetWWDTTriggerBySoftwareCacheBit()

__STATIC_INLINE void DDL_FLASH_SetWWDTTriggerBySoftwareCacheBit ( uint32_t isEnabled)

Set WWDT software enables cache bits.

Parameters
WWDTsoftware enables cache bits.
Return values
None.

Definition at line 698 of file g32r4xx_ddl_flash.h.