Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:c:registries [2016/08/31 07:07] – kesr | software:c:registries [2018/01/31 14:39] (current) – [CT Board Registers] ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Register Data Types ====== | ====== Register Data Types ====== | ||
- | To access the registries | + | To access the registers |
- | A pointer of this type then points to the registry's physical address. \\ \\ | + | A pointer of this type then points to the register's physical address. \\ \\ |
* The [[# | * The [[# | ||
Line 22: | Line 22: | ||
\\ {{type_union.svg}} \\ \\ | \\ {{type_union.svg}} \\ \\ | ||
- | ===== STM32F429ZI | + | ===== STM32F429ZI |
- | Bellow | + | Below is the definition of the [[stm32: |
<code c> | <code c> | ||
Line 36: | Line 36: | ||
[1]: Bit reset register. */ | [1]: Bit reset register. */ | ||
volatile uint32_t LCKR; / | volatile uint32_t LCKR; / | ||
- | volatile uint32_t AFR[2]; | + | volatile uint32_t AFR[2]; |
- | | + | |
} reg_gpio_t; | } reg_gpio_t; | ||
Line 54: | Line 54: | ||
\\ | \\ | ||
- | The GPIO registry | + | The GPIO register |
- | For every GPIO port exists a macro, which is simply a pointer of the type '' | + | For every GPIO port exists a macro, which is simply a pointer of the type '' |
For convenience there is a special operator ''< | For convenience there is a special operator ''< | ||
<code c> | <code c> | ||
Line 62: | Line 62: | ||
\\ | \\ | ||
- | ===== CT Board Registries | + | ===== CT Board Registers |
- | The registries | + | The registers |
\\ {{type_combined.svg}} \\ \\ | \\ {{type_combined.svg}} \\ \\ | ||
- | Bellow | + | Below is the definition of the [[ctboard: |
<code c> | <code c> | ||
Line 88: | Line 88: | ||
\\ | \\ | ||
- | The CT_DIPSW | + | The CT_DIPSW |
<code c> | <code c> |