#include <defs.h>
#include <stub.c>
#include <uart.h>
#include <irq_vex.h>
#include <gpios.h>
#include <timer0.h>
#include <mgmt_gpio.h>
#include <irq_api.h>
#include <la.h>
#include <uart_api.h>
#include <spi_master.h>
#include <user_space.h>
Go to the source code of this file.
◆ dummyDelay()
void dummyDelay |
( |
int |
num | ) |
|
Insert delay
- Parameters
-
num | number of delays steps. step is increment local variable and check it's value |
◆ enableHkSpi()
void enableHkSpi |
( |
bool |
is_enable | ) |
|
Enable or disable the housekeeping SPI This function writes to the housekeeping disenable register inside the housekeeping
- Note
- When this register asserted housekeeping SPI can't be used and GPIOs[3] which is CSB can be used as any other Caravel GPIOs
- Warning
- By default the housekeeping SPI is enabled to use GPIOs[3] freely it should be disabled.
- Parameters
-
is_enable | when 1 (true) housekeeping is active, 0 (false) housekeeping is disabled |