G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
g32r4xx_ddl_bkp.h File Reference

Header file of BKP DDL module. More...

#include "g32r4xx.h"

Go to the source code of this file.

Macros

#define DDL_BKP_DR0   (0x00000000UL)
#define DDL_BKP_DR1   (0x00000001UL)
#define DDL_BKP_DR2   (0x00000002UL)
#define DDL_BKP_DR3   (0x00000003UL)
#define DDL_BKP_DR4   (0x00000004UL)
#define DDL_BKP_DR5   (0x00000005UL)
#define DDL_BKP_DR6   (0x00000006UL)
#define DDL_BKP_DR7   (0x00000007UL)
#define DDL_BKP_DR8   (0x00000008UL)
#define DDL_BKP_DR9   (0x00000009UL)
#define DDL_BKP_DR10   (0x0000000AUL)
#define DDL_BKP_DR11   (0x0000000BUL)
#define DDL_BKP_DR12   (0x0000000CUL)
#define DDL_BKP_DR13   (0x0000000DUL)
#define DDL_BKP_DR14   (0x0000000EUL)
#define DDL_BKP_DR15   (0x0000000FUL)
#define DDL_BKP_LocateDataReg(__BASEADDR__, __REG__)
#define DDL_BKP_WriteReg(__REG__, __VALUE__)
 Write a value in BKP register.
#define DDL_BKP_ReadReg(__REG__)
 Read a value in BKP register.

Functions

__STATIC_INLINE void DDL_BKP_EnableReset (void)
 Enable reset the BKP register.
__STATIC_INLINE void DDL_BKP_DisableReset (void)
 Disable reset the BKP register.
__STATIC_INLINE void DDL_BKP_SetDataBackUp (uint32_t Reg, uint32_t Data)
 Write backup data to designative register.
__STATIC_INLINE uint32_t DDL_BKP_GetDataBackUp (uint32_t Reg)
 Read backup data from designative register.

Detailed Description

Header file of BKP DDL module.

Attention

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The original code has been modified by Geehy Semiconductor.

Copyright (c) 2017 STMicroelectronics. Copyright (C) 2025 Geehy Semiconductor. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file g32r4xx_ddl_bkp.h.