
Configuring an M1 CPU with Concept
Setting the Time
Overview | Once you have reserved a block of registers for the | ||||||||||||||||||
| set the correct time. With Concept, you must go online and set the register bits | ||||||||||||||||||
| individually, using the following guidelines for setting the status bits and setting the | ||||||||||||||||||
| time bits. The CPU must be running. |
|
|
|
|
|
|
|
|
|
|
| |||||||
| Note: The |
|
| ||||||||||||||||
Setting the |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
The control register (4x) uses its four most significant bits to report status: |
|
| |||||||||||||||||
Status Bits |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Control Register |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 = error |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| 1 = All clock values have been set |
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 = Clock values are being read |
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 = Clock values are being set |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: The
Setting the Time | The following table shows how the registers handle | ||
Bits | register 4x is the first register in the block reserved for the clock: | ||
|
|
|
|
| Register | Data Content |
|
|
|
|
|
| 4x | The control register |
|
|
|
|
|
| 4x + 1 | Day of the week (Sunday = 1, Monday = 2, etc.) |
|
|
|
|
|
| 4x + 2 | Month of the year (Jan = 1, Feb = 2, etc.) |
|
|
|
|
|
| 4x + 3 | Day of the month (1...31) |
|
|
|
|
|
| 4x + 4 | Year (00...99) |
|
|
|
|
|
| 4x + 5 | Hour in military time (0...23) |
|
|
|
|
|
| 4x + 6 | Minute (0...59) |
|
|
|
|
|
| 4x + 7 | Second (0...59) |
|
|
|
|
|
|
|
|
|
|
|
|
|
334 | 870 USE 101 10 V.2 |