/*!
 * @file        user_tmr_config.c
 *
 * @brief       TMR 32BitCount configuration
 *
 * @version     V1.0.0
 *
 * @date        2026-03-26
 *
 * @attention
 *
 *  Copyright (C) 2026 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (Geehy Semiconductor Software License Agreement).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the Geehy Semiconductor Software License Agreement for the governing permissions
 *  and limitations under the license.
 */

#include "user_tmr_config.h"

/** @addtogroup Examples
  @{
*/

/** @addtogroup TMR_Examples
@{
*/

/** @addtogroup TMR_32BitCount
  @{
*/

/** @defgroup TMR_32BitCount_Variables Variables
  @{
*/

Tmr_TimeBaseType g_tmr2BaseConfig = {
    .div = 0,
    .period = 0xFFFF,
    .clockDivision = TMR_CKD_DIV1,
    .counterMode = TMR_COUNTER_MODE_UP
};

Tmr_TimeBaseType g_tmr3BaseConfig = {
    .div = 167,
    .period = 0xFFFF,
    .clockDivision = TMR_CKD_DIV1,
    .counterMode = TMR_COUNTER_MODE_UP
};

Tmr_TimeBaseType g_tmr1BaseConfig = {
    .clockDivision = TMR_CKD_DIV1,
    .counterMode = TMR_COUNTER_MODE_UP,
    .div = (uint16_t)TMR_CKD_DIV4,
    .period = 18000,
    .repetitionCounter = 0
};

/**@} end of group TMR_32BitCount_Variables */

/**@} end of group TMR_32BitCount */
/**@} end of group TMR_Examples */
/**@} end of group Examples */
