Differences

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

Link to this comparison view

Next revision
Previous revision
ctboard:peripherals:7segment_bin [2016/02/25 13:24] – created feurctboard:peripherals:7segment_bin [2022/12/23 11:07] (current) – [Programming Example] ruan
Line 1: Line 1:
-====== HEX Display ======+====== 7-Segment Display - Binary Interface ======
  
-Additionally the display can be used as HEX display. All 4 displays can directly show a 16 bit binary value. \\ +The four 7-segment displays can jointly display a 16-bit value as a four digit HEX number. \\ 
-In this mode the display can't be switched off, use the [[#segment_control|raw interface]]. \\ \\+In this mode the display can't be switched off, use the [[7segment_raw|segment control interface]] instead. \\ \\
  
-> {{ctboard:ctboard_mode_1.svg?48px }} {{ctboard:ctboard_mode_2.svg?48px }} {{ctboard:ctboard_mode_3.svg?48px }} Please make sure the CT Board is in the correct [[ctboard:mode_switch|mode]]+> {{ctboard:ctboard_mode_1.svg?48px }} {{ctboard:ctboard_mode_2.svg?48px }} {{ctboard:ctboard_mode_3.svg?48px }} {{ctboard:ctboard_mode_4.svg?48px }} Please make sure the CT Board is in the correct mode. 
-> Supported modes: **1**, **2**, **3** +> Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3**, **4** 
 \\ \\
 +
 +===== Registers =====
 +
 +The registers are read / write.
 +
 +\\ {{ctboard_7seg_bin_reg.svg}} \\ \\
 +
 +===== Diagram =====
 +
 +\\ {{ctboard_7seg_bin.svg?700em}} \\ \\
  
 ===== Programming Example ===== ===== Programming Example =====
  
-The code snippet bellow shows how to use the 7 segment display as HEX display.+The code snippet below shows how to use the 7-segment display as HEX display.
  
 <code c> <code c>
Line 21: Line 31:
  
 <code asm> <code asm>
-ADDR_SEG7_BIN   EQU      0x60000120+ADDR_SEG7_BIN   EQU      0x60000114
  
                 LDR      r0, =ADDR_SEG7_BIN                 LDR      r0, =ADDR_SEG7_BIN
Line 29: Line 39:
 \\ \\
  
-===== Registers ===== 
- 
-The Registers are read / write. 
- 
-\\ {{ctboard_7seg_bin_reg.svg}} \\ \\ 
- 
-===== Diagram ===== 
- 
-\\ {{ctboard_7seg_bin.svg?700em}} \\ \\ 
  • ctboard/peripherals/7segment_bin.1456406682.txt.gz
  • Last modified: 2016/02/25 13:24
  • by feur