Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ctboard:peripherals:dipsw [2016/02/25 10:45] – feur | ctboard:peripherals:dipsw [2022/12/27 16:38] (current) – [Registers] ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== DIPSW ====== | ====== DIPSW ====== | ||
- | On the CT Board are 32 DIP switches | + | The CT Board features |
If a DIP switch is in the position " | If a DIP switch is in the position " | ||
- | > {{ctboard: | + | > {{ctboard: |
- | > Supported [[ctboard: | + | > Supported [[ctboard: |
+ | \\ | ||
+ | |||
+ | ===== Registers ===== | ||
+ | |||
+ | The registers are read only. | ||
+ | |||
+ | \\ {{ctboard_dipsw_reg.svg}} \\ \\ | ||
+ | |||
+ | ===== Diagram ===== | ||
+ | |||
+ | \\ {{: | ||
===== Programming Example ===== | ===== Programming Example ===== | ||
- | The code snippet bellow shows how to use the DIPSW. | + | The code snippets below show how to use the DIPSW. |
<code c> | <code c> | ||
Line 20: | Line 31: | ||
\\ | \\ | ||
- | ===== Registers ===== | + | <code asm> |
- | + | ADDR_DIPSW | |
- | The Registers are read only. | + | |
- | + | | |
- | \\ {{ctboard_dipsw_reg.svg}} \\ \\ | + | |
- | + | | |
- | ===== Diagram ===== | + | |
- | + | </ | |
- | \\ {{: | + | \\ |