/*
 * Copyright (c) 2016, Freescale Semiconductor, Inc.
 * Copyright (c) 2016-2021, NXP
 * All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
#ifndef TIMER_H
#define TIMER_H

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#define BATTPBTO (5*60)

#define METUNLOCKTO (30)
/*******************************************************************************
* Prototypes
******************************************************************************/
extern uint8  UpDetected;
extern uint8  DownDetected;
extern uint8  UpScrollDebouncer;
extern uint8  DownScrollDebouncer;
extern uint8  MeterUnlockTimer;
extern uint16 BattPBTimeout;

extern void GPTimerModuleInit(void);
extern void GPTimerEventHandler(void);
extern void SecondsTimerCallback(void);

#endif