coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include "rx6110sa.h"
4 
6  unsigned int bus_speed; /* Bus clock in Hz (default 400 kHz)*/
7  /* The day (of the week) is indicated by 7 bits, bit 0 to bit 6. */
8  unsigned char user_weekday; /* User day of the week to set */
9  unsigned char user_day; /* User day to set */
10  unsigned char user_month; /* User month to set */
11  unsigned char user_year; /* User year to set */
12  unsigned char set_user_date; /* Use user date from device tree */
13  unsigned char cof_selection; /* Set up "clock out" frequency */
14  unsigned char timer_clk; /* Set up timer clock */
15  unsigned char timer_irq_en; /* Interrupt generation on timer */
16  unsigned short timer_preset; /* Preset value for the timer */
17  unsigned char timer_mode; /* Set the timer mode of operation */
18  unsigned char timer_en; /* Enable timer operation */
19  unsigned char irq_output_pin; /* 0: IRQ2 pin used, 1: IRQ1 pin used */
20  unsigned char fout_output_pin; /* 0: IRQ2, 1: IRQ1, 2: DO/FOUT */
21  unsigned char enable_1hz_out; /* If set enables 1 Hz output on IRQ1 */
22  unsigned char pmon_sampling; /* Select power monitor sampling time */
23  /* The following two bits set the power monitor and backup mode. */
24  unsigned char bks_on;
25  unsigned char bks_off;
26  unsigned char iocut_en; /* Disable backup of I/O circuit. */
27 };
unsigned char user_month
Definition: chip.h:10
unsigned char set_user_date
Definition: chip.h:12
unsigned char user_weekday
Definition: chip.h:8
unsigned char timer_irq_en
Definition: chip.h:15
unsigned char bks_off
Definition: chip.h:25
unsigned char timer_mode
Definition: chip.h:17
unsigned char timer_clk
Definition: chip.h:14
unsigned char fout_output_pin
Definition: chip.h:20
unsigned int bus_speed
Definition: chip.h:6
unsigned char timer_en
Definition: chip.h:18
unsigned char cof_selection
Definition: chip.h:13
unsigned char irq_output_pin
Definition: chip.h:19
unsigned char user_year
Definition: chip.h:11
unsigned char pmon_sampling
Definition: chip.h:22
unsigned char user_day
Definition: chip.h:9
unsigned char enable_1hz_out
Definition: chip.h:21
unsigned char iocut_en
Definition: chip.h:26
unsigned char bks_on
Definition: chip.h:24
unsigned short timer_preset
Definition: chip.h:16