/space/home/slher/rel/Beken/v6_4_5/macsw/plf/refip/src/driver/sysctrl/sysctrl.h File Reference

Declaration of the reference platform system controller block. More...

#include "co_math.h"
#include "reg_sysctrl.h"

Go to the source code of this file.

Defines

GPIO definitions



#define LED_SLEEP   CO_BIT(2)
 LED indicating the CPU is sleeping.
#define LED_RUN   CO_BIT(0)
 LED indicating the CPU is running.
#define LED_RX   CO_BIT(1)
 LED indicating a reception.
#define GPIO_OUT(val)   sysctrl_gpio_out_set(val)
 Macro to output a value on the GPIOs.
#define LED_ON(led)   sysctrl_gpio_out_set(sysctrl_gpio_out_get() | (led))
 Macro to enable LED.
#define LED_OFF(led)   sysctrl_gpio_out_set(sysctrl_gpio_out_get() & ~(led))
 Macro to disable LED.
DIAG control definitions

These values defines the effect on the DIAGMUX



#define DIAG_MICTOR_TEST   0
 MICTOR test.
#define DIAG_DBG   1
 Debug diags.
#define DIAG_TARGET0   2
 Target0 diags.
#define DIAG_TARGET1   3
 Target1 diags.
#define DIAG_DMA0   4
 DMA0 diags.
#define DIAG_DMA1   5
 DMA1 diags.
#define DIAG_JTAG   6
 JTAG diags.
#define DIAG_TAP   7
 TAP diags.
#define DIAG_PROC   8
 Processor diags.
#define DIAG_PLF0   9
 PLF0 diags.
#define DIAG_PLF1   10
 PLF1 diags.
#define DIAG_PLF2   11
 PLF2 diags.
#define DIAG_MAC   12
 MAC HW diags.

Functions

void sysctrl_init (void)
 Initialize the reference platform system controller.

Detailed Description

Declaration of the reference platform system controller block.

Copyright (C) RivieraWaves 2011-2019

Definition in file sysctrl.h.


Generated on 14 Jan 2020 for Ceva-RW WLAN FullMAC SW documentation by  doxygen 1.6.1