RTEMS 6.1-rc4
|
This source file contains parts of the system initialization. More...
#include <stdint.h>
#include <stdbool.h>
#include <bsp/tms570.h>
#include <bsp/tms570-pinmux.h>
#include <bsp/tms570_selftest.h>
#include <bsp/tms570_hwinit.h>
Enumerations | |
enum | tms570_flash_power_modes { TMS570_FLASH_SYS_SLEEP = 0U , TMS570_FLASH_SYS_STANDBY = 1U , TMS570_FLASH_SYS_ACTIVE = 3U } |
Functions | |
void | tms570_trim_lpo_init (void) |
Adjust Low-Frequency (LPO) oscilator (HCG:trimLPO) | |
void | tms570_flash_init (void) |
Setup Flash memory parameters and timing (HCG:setupFlash) | |
void | tms570_periph_init (void) |
Power-up all peripherals and enable their clocks (HCG:periphInit) | |
void | tms570_system_hw_init (void) |
TMS570 system hardware initialization (HCG:systemInit) | |
This source file contains parts of the system initialization.
void tms570_flash_init | ( | void | ) |
Setup Flash memory parameters and timing (HCG:setupFlash)
void tms570_periph_init | ( | void | ) |
Power-up all peripherals and enable their clocks (HCG:periphInit)
void tms570_system_hw_init | ( | void | ) |
TMS570 system hardware initialization (HCG:systemInit)
void tms570_trim_lpo_init | ( | void | ) |
Adjust Low-Frequency (LPO) oscilator (HCG:trimLPO)
Initialize Lpo:
Load TRIM values from OTP if present else load user defined values