]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/timer/tmu012.h
Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-10-21' into staging
[mirror_qemu.git] / include / hw / timer / tmu012.h
CommitLineData
95f4dc44
PMD
1/*
2 * SuperH Timer
3 *
4 * Copyright (c) 2007 Magnus Damm
5 *
6 * This code is licensed under the GPL.
7 */
8
9#ifndef HW_TIMER_TMU012_H
10#define HW_TIMER_TMU012_H
11
12#include "exec/hwaddr.h"
13
14#define TMU012_FEAT_TOCR (1 << 0)
15#define TMU012_FEAT_3CHAN (1 << 1)
16#define TMU012_FEAT_EXTCLK (1 << 2)
17
18void tmu012_init(MemoryRegion *sysmem, hwaddr base,
19 int feat, uint32_t freq,
20 qemu_irq ch0_irq, qemu_irq ch1_irq,
21 qemu_irq ch2_irq0, qemu_irq ch2_irq1);
22
23#endif