20-101-0732 Rabbit Semiconductor, 20-101-0732 Datasheet - Page 54

no-image

20-101-0732

Manufacturer Part Number
20-101-0732
Description
INTERFACE SMART SCREEN OP7100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0732

Module/board Type
Single Board Computer Module
For Use With/related Products
OP7100
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-732
20-101-732
The sample program
with one bit high at a time while it displays the state of the digital inputs.
Real-Time Clock (RTC)
The OP7100 has an Epson 72423 chip. The chip stores time and date, and
accounts for the number of days in a month, and for leap year. A backup
battery will allow the values in the RTC to be preserved if a power failure
occurs.
The Dynamic C function library
RTC functions.
• tm _ rd
• tm _ wr
The following points apply when using the RTC.
1. The AM/PM bit is 0 for AM, 1 for PM. The RTC also has a 24-hour
2. Set the year to 96 for 1996, 97 for 1997, and so on.
54
void delay( unsigned wDelay ){
}
void main( void ){
}
Reads time and date values from the RTC.
Writes time and date values into the RTC.
mode.
Software
for(;--wDelay;hitwd());
unsigned wAddr;
for (;;)
for(wAddr=0x4140;wAddr<0x4148;++wAddr){
}
outport( wAddr,0x01 );
printf( "%04x%02x\n",wAddr,inport(0x4140) );
delay( 0x8000 );
outport( wAddr,0x00 );
The Dynamic C Function Reference manual describes these
functions and the associated data structure
Constantly reading the RTC in a tight loop will result in a loss
of accuracy.
OP71.C
below cycles through through the outputs
OP71.C
DRIVERS.LIB
provides the following
tm
.
OP7100

Related parts for 20-101-0732