Go to the source code of this file.
Data Structures | |
| struct | gwc_ch_config |
| gwc channel config More... | |
| struct | gwc_config |
| gwc config More... | |
Typedefs | |
| typedef struct gwc_ch_config | gwc_ch_config_t |
| gwc channel config More... | |
| typedef enum gwc_clk_pol | gwc_clk_pol_t |
| gwc clk polarity More... | |
| typedef struct gwc_config | gwc_config_t |
| gwc config More... | |
Enumerations | |
| enum | gwc_clk_pol { gwc_clk_pol_normal = 0 , gwc_clk_pol_invert } |
| gwc clk polarity More... | |
Functions | |
| void | gwc_get_default_config (gwc_config_t *cfg) |
| init the gwc More... | |
| void | gwc_init (GWC_Type *ptr, gwc_config_t *cfg) |
| init the gwc More... | |
| void | gwc_enable (GWC_Type *ptr) |
| enable the gwc More... | |
| void | gwc_disable (GWC_Type *ptr) |
| disable the gwc More... | |
| static void | gwc_enable_interrupt (GWC_Type *ptr, uint32_t mask) |
| enable interrupts More... | |
| static void | gwc_disable_interrupt (GWC_Type *ptr, uint32_t mask) |
| disable interrupts. More... | |
| static uint32_t | gwc_get_status (GWC_Type *ptr) |
| get gwc status flag More... | |
| static void | gwc_clear_status (GWC_Type *ptr, uint32_t mask) |
| clear gwc status flag More... | |
| void | gwc_freeze_interrupt_control (GWC_Type *ptr) |
| disable change of interrupt masks More... | |
| void | gwc_ch_init (GWC_Type *ptr, uint8_t ch_index, gwc_ch_config_t *cfg) |
| init gwc channel More... | |
| static void | gwc_ch_enable (GWC_Type *ptr, uint8_t ch_index) |
| enable gwc channel More... | |
| static void | gwc_ch_disable (GWC_Type *ptr, uint8_t ch_index) |
| disable gwc channel More... | |
| static uint32_t | gwc_ch_get_crc (GWC_Type *ptr, uint8_t ch_index) |
| get gwc channel calc crc More... | |