Zynq processing subsystem boot configuration.
More...
Zynq processing subsystem boot configuration.
◆ sd_bt_enable()
void sd_bt_enable |
( |
uint8_t |
enable | ) |
|
#include <Src/sd_platform.c>
Bluetooth Enable Enable the Bluetooth interface on the wireless module.
- Parameters
-
enable | State to set for Bluetooth interface |
- Return values
-
161 GPIO_PinState en = enable ? GPIO_PIN_SET : GPIO_PIN_RESET;
163 HAL_GPIO_WritePin(WL18xx_BT_EN_GPIO_Port,
164 WL18xx_BT_EN_Pin, en);
◆ sd_wl_clk_enable()
void sd_wl_clk_enable |
( |
uint8_t |
enable | ) |
|
#include <Src/sd_platform.c>
Wireless Clock Enable Enable the wireless module 32kHz clock source.
- Parameters
-
enable | State to set for clock |
- Return values
-
145 GPIO_PinState en = enable ? GPIO_PIN_SET : GPIO_PIN_RESET;
147 HAL_GPIO_WritePin(WL_32KHZ_CLK_EN_GPIO_Port,
148 WL_32KHZ_CLK_EN_Pin, en);
◆ sd_zynq_boot_config()
#include <Src/sd_platform.c>
Zynq Boot Config Outputs boot select pins to zynq for desired boot media source.
- Parameters
-
boot | Value defining boot pin outputs |
- Return values
-
179 GPIO_PinState mio4_out, mio5_out;
183 mio4_out = GPIO_PIN_RESET;
184 mio5_out = GPIO_PIN_RESET;
188 mio4_out = GPIO_PIN_SET;
189 mio5_out = GPIO_PIN_RESET;
193 mio4_out = GPIO_PIN_RESET;
194 mio5_out = GPIO_PIN_SET;
198 mio4_out = GPIO_PIN_SET;
199 mio5_out = GPIO_PIN_SET;
204 HAL_GPIO_WritePin(MIO4_BOOT_SELECT_GPIO_Port,
205 MIO4_BOOT_SELECT_Pin,
208 HAL_GPIO_WritePin(MIO5_BOOT_SELECT_GPIO_Port,
209 MIO5_BOOT_SELECT_Pin,
◆ sd_zynq_clk_enable()
void sd_zynq_clk_enable |
( |
uint8_t |
enable | ) |
|
#include <Src/sd_platform.c>
Zynq Clock Enable Enables the main clock source for the Zynq APU.
- Parameters
-
enable | State to set for clock |
- Return values
-
112 GPIO_PinState en = enable ? GPIO_PIN_SET : GPIO_PIN_RESET;
114 HAL_GPIO_WritePin(ZYNQ_CLK_EN_GPIO_Port,
115 ZYNQ_CLK_EN_Pin, en);
◆ sd_zynq_disable()
void sd_zynq_disable |
( |
void |
| ) |
|
#include <Src/sd_platform.c>
Disable Zynq Power Disable the Zynq power rails by setting the enable pin low.
- Parameters
-
butt | Button used to trigger this function |
- Return values
-
241 HAL_GPIO_WritePin(ZYNQ_POWER_EN_GPIO_Port,
242 ZYNQ_POWER_EN_Pin, GPIO_PIN_RESET);
enum sd_led_err sd_led_rapid(struct sd_led *led)
LED rapid blinking Set an LED to a continuous rapid blinking.
Definition: sd_led_pattern.c:197
struct sd_led app_led
Definition: sd_led.c:67
◆ sd_zynq_enable()
void sd_zynq_enable |
( |
void |
| ) |
|
#include <Src/sd_platform.c>
Enable Zynq Power Enable the Zynq power rails by setting the enable pin high.
- Parameters
-
butt | Button used to trigger this function |
- Return values
-
256 HAL_GPIO_WritePin(ZYNQ_POWER_EN_GPIO_Port,
257 ZYNQ_POWER_EN_Pin, GPIO_PIN_SET);
enum sd_led_err sd_led_reset(struct sd_led *led)
LED reset Reset the LED configuration and clear the pattern.
Definition: sd_led.c:174
struct sd_led app_led
Definition: sd_led.c:67
◆ sd_zynq_jtag_enable()
void sd_zynq_jtag_enable |
( |
uint8_t |
enable | ) |
|
#include <Src/sd_platform.c>
Zynq JTAG Enable Enables the JTAG interface for programming the PS or PL.
- Parameters
-
enable | State to set for JTAG interface |
- Return values
-
129 GPIO_PinState en = enable ? GPIO_PIN_SET : GPIO_PIN_RESET;
131 HAL_GPIO_WritePin(ZYNQ_JTAG_NRST_GPIO_Port,
132 ZYNQ_JTAG_NRST_Pin, en);
◆ sd_zynq_reset()
void sd_zynq_reset |
( |
void |
| ) |
|