zephyr/drivers/counter/counter_ace_v1x_rtc_regs.h

21 lines
425 B
C
Raw Permalink Normal View History

/*
* Copyright (c) 2022 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __COUNTER_ACE_V1X_RTC_REGS__
#define __COUNTER_ACE_V1X_RTC_REGS__
#if CONFIG_ACE_V1X_RTC_COUNTER
#define ACE_RTC_COUNTER_ID DT_NODELABEL(ace_rtc_counter)
#define ACE_RTCWC (DT_REG_ADDR(ACE_RTC_COUNTER_ID))
#define ACE_RTCWC_LO ACE_RTCWC
#define ACE_RTCWC_HI ACE_RTCWC + 0x04
#endif
#endif /*__COUNTER_ACE_V1X_RTC_REGS__*/