44#include "sl_device_init_nvic.h"
45#include "sl_board_init.h"
46#include "sl_device_init_dcdc.h"
47#include "sl_device_init_hfxo.h"
48#include "sl_device_init_lfxo.h"
49#include "sl_device_init_clocks.h"
50#include "sl_device_init_emu.h"
51#include "sl_board_control.h"
52#include "sl_power_manager.h"
53#include "sl_sleeptimer.h"
59#include "lib/random.h"
61#include "sys/linkaddr-arch.h"
65#define LOG_MODULE "GECKO"
66#define LOG_LEVEL LOG_LEVEL_MAIN
69sl_platform_init_stage_one(
void)
72 sl_device_init_nvic();
74 sl_device_init_dcdc();
75 sl_device_init_hfxo();
76 sl_device_init_lfxo();
77 sl_device_init_clocks();
80 sl_power_manager_init();
84sl_platform_init_stage_two(
void)
86 sl_board_configure_vcom();
93 sl_platform_init_stage_one();
102 sl_platform_init_stage_two();
126 sl_power_manager_sleep();
Header file for the GPIO HAL.
void random_init(unsigned short seed)
Seed the cc2538 random number generator.
void uart_set_input(uint8_t uart, int(*input)(unsigned char c))
Assigns a callback to be called when the UART receives a byte.
void uart_init(uint8_t uart)
Initialises the UART controller, configures I/O control and interrupts.
void platform_init_stage_three()
Final stage of platform driver initialisation.
void platform_init_stage_one(void)
Basic (Stage 1) platform driver initialisation.
void platform_idle()
The platform's idle/sleep function.
void platform_init_stage_two()
Stage 2 of platform driver initialisation.
void leds_init(void)
Initialise the LED HAL.
void populate_link_address(void)
Populates the link address using factory information.
void gpio_hal_init()
Initialise the GPIO HAL.
Header file for the LED HAL.
Header file for the logging system.
Generic serial I/O process header filer.
int serial_line_input_byte(unsigned char c)
Get one byte of input from the serial driver.
UART header file for the gecko.