Line 22... |
Line 22... |
-- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
-- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
--
|
--
|
-- VHDL Units : o8_rtc
|
-- VHDL Units : o8_rtc
|
-- Description: Provides automatically updated registers that maintain the
|
-- Description: Provides automatically updated registers that maintain the
|
-- : time of day. Keeps track of the day of week, hours, minutes
|
-- : time of day. Keeps track of the day of week, hours, minutes
|
-- : seconds, and tenths of a second. Module is doubled buffered
|
-- : seconds, and tenths of a second in packed BCD format.
|
-- : to ensure time consistency during accesses. Also provides
|
-- : Module is doubled buffered to ensure time consistency during
|
-- : a programmable periodic interrupt timer, as well as a uSec
|
-- : accesses.
|
-- : tick for external use.
|
-- : Also provides an 8-bit programmable periodic interrupt timer
|
|
-- : with 1uS resolution, a 10uS fixed interrupt, as well as a
|
|
-- : 1 uSec tick (1 clock wide) for external use.
|
--
|
--
|
-- Register Map:
|
-- Register Map:
|
-- Offset Bitfield Description Read/Write
|
-- Offset Bitfield Description Read/Write
|
-- 0x0 AAAAAAAA Periodic Interval Timer in uS (RW)
|
-- 0x0 AAAAAAAA Periodic Interval Timer in uS (RW)
|
-- 0x1 -AAAAAAA Tenths (0x00 - 0x63) (RW)
|
-- 0x1 BBBBAAAA Tenths (0x00 - 0x99) (RW)
|
-- 0x2 --AAAAAA Seconds (0x00 - 0x3B) (RW)
|
-- 0x2 -BBBAAAA Seconds (0x00 - 0x59) (RW)
|
-- 0x3 --AAAAAA Minutes (0x00 - 0x3B) (RW)
|
-- 0x3 -BBBAAAA Minutes (0x00 - 0x59) (RW)
|
-- 0x4 ---AAAAA Hours (0x00 - 0x17) (RW)
|
-- 0x4 --BBAAAA Hours (0x00 - 0x23) (RW)
|
-- 0x5 -----AAA Day of Week (0x00 - 0x06) (RW)
|
-- 0x5 -----AAA Day of Week (0x00 - 0x06) (RW)
|
-- 0x6 -------- Update RTC regs from Shadow Regs (WO)
|
-- 0x6 -------- Update RTC regs from Shadow Regs (WO)
|
-- 0x7 A------- Update Shadow Regs from RTC regs (RW)
|
-- 0x7 A------- Update Shadow Regs from RTC regs (RW)
|
-- A = Update is Busy
|
-- A = Update is Busy
|
|
|