Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ctboard:peripherals:7segment [2016/01/27 07:51] feurctboard:peripherals:7segment [2018/01/14 09:30] (current) ruan
Line 1: Line 1:
-====== 7 Segment Display ======+====== 7-Segment Display ======
  
-There are 4 7 segment displays mounted on the CT Board. The displays can be accessed over two different interfaces: +The CT Board provides four 7-segment displays. The displays can be accessed through two different interfaces: 
-  * The [[#hex_display|binary]] interface, for HEX representation of binary values +  * The [[7segment_bin|binary]] interface, for HEX representation of binary values 
-  * The [[#segment_control|"raw"]] interface, for independent controll over each segment+  * The [[7segment_raw|"segment control"]] interface, for independent control of each segment
 Depending on the used addresses the display will switch automatically. \\ \\ Depending on the used addresses the display will switch automatically. \\ \\
- 
-> {{ctboard_mode_1.svg?48px }} {{ctboard_mode_2.svg?48px }} {{ctboard_mode_3.svg?48px }} Please make sure the CT Board is in the correct mode. 
-> Supported modes: **1**, **2**, **3**  
- 
-===== Segment Control ===== 
- 
-This is the "raw" interface. Each segment of the display can be controled independently. The segments are **"active-low"**, e.g. the segment is on if a logical "0" is written to it. 
- 
-==== Registers ==== 
- 
-The Registers are read / write. 
- 
-|< 100% 10em >| 
-^  Address  ^  Bit 7  ^  Bit 6  ^  Bit 5  ^  Bit 4  ^  Bit 3  ^  Bit 2  ^  Bit 1  ^  Bit 0  ^ 
-^  :::  ^  dp  ^  g  ^  f  ^  e  ^  d  ^  c  ^  b  ^  a  ^ 
-^  0x6000'0110  |  DS0  |||||||| 
-^  0x6000'0111  |  DS1  |||||||| 
-^  0x6000'0112  |  DS2  |||||||| 
-^  0x6000'0113  |  DS3  |||||||| 
- 
-==== Diagram ==== 
- 
-\\ {{ctboard_7seg_raw.svg?800em}} \\ \\ 
- 
-===== HEX Display ===== 
- 
-Additionally the display can be used as HEX display. All 4 displays can directly show a 16 bit binary value. \\ 
-In this mode the display can't be switched off, use the [[#segment_control|raw interface]]. \\ \\ 
- 
-==== Registers ==== 
- 
-The Registers are read / write. 
- 
-|< 100% 10em >| 
-^  Address  ^  Bit 7  ^  Bit 6  ^  Bit 5  ^  Bit 4  ^  Bit 3  ^  Bit 2  ^  Bit 1  ^  Bit 0  ^ 
-^  0x6000'0120  |  DS1 / DS0  |||||||| 
-^  0x6000'0121  |  DS3 / DS2  |||||||| 
- 
-==== Diagram ==== 
- 
-\\ {{ctboard_7seg_bin.svg?800em}} \\ \\ 
  • ctboard/peripherals/7segment.1453881080.txt.gz
  • Last modified: 2016/01/27 07:51
  • by feur