|
3.3kW Totem-pole PFC with SiC and XMC1404
|
Communication functions. More...
Macros | |
| #define | XMC_FLASH_SECTOR_8 8 |
Functions | |
| static uint16_t | limit_range (uint16_t value, uint16_t min, uint16_t max) |
| Limit the value insight of the range between min and max. More... | |
| static void | uart_execute_cmd () |
| UART execute received command and data. More... | |
| void | uart_receive () |
| UART receive data. More... | |
| static void | uart_tx_half_word (uint8_t command, uint16_t msg) |
| UART transmit data. More... | |
| void | uart_transmit () |
| UART transmit data. More... | |
| void | load_ROM_parameters () |
| Copy parameters from ROM into an intermediate RAM area. More... | |
| void | check_RAM_parameters () |
| Check that parameters in RAM are insight of a valid range. More... | |
Variables | |
| const params_t * | parameters_ROM = (params_t *)(XMC_FLASH_BASE + (XMC_FLASH_BYTES_PER_SECTOR * XMC_FLASH_SECTOR_8)) |
| params_t | parameters_RAM |
| params_t | parameters_MIN_RAM |
| params_t | parameters_MAX_RAM |
| const params_t | parameters_DFLT |
| params_t | parameters_MIN |
| params_t | parameters_MAX |
| static uint8_t | msg_cnt = 100 |
| static msg_t | UART_rx_buffer |
Communication functions.