Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdio.h>
#include "Nano100Series.h"
#include "adc.h"
#include "gpio.h"
#include "spi.h"
#include "sys.h"
#include "timer.h"
#include "uart.h"
#include "usbd.h"
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_spi.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "cascoda_chili.h"
#include "cascoda_chili_gpio.h"
Functions | |
u32_t | CHILI_ADCConversion (u32_t channel, u32_t reference) |
Perform ADC Conversion. More... | |
void | CHILI_GPIOInit (void) |
Initialise Essential GPIOs for various Functions. More... | |
void | CHILI_GPIOPowerDown (u8_t useGPIOforWakeup) |
Re-program GPIOs for PowerDown. More... | |
void | CHILI_GPIOPowerUp (void) |
Re-program GPIOs for active Mode after PowerDown. More... | |
void | CHILI_GPIOEnableInterrupts (void) |
Enable GPIO Interrupts. More... | |
ca_error | CHILI_ClockInit (void) |
Select System Clocks depending on Power Source. More... | |
void | CHILI_CompleteClockInit (void) |
Completes Clock (Re-)Initialisation. More... | |
void | CHILI_EnableIntOscCal (void) |
Enable Internal Oscillator Calibration. More... | |
void | CHILI_DisableIntOscCal (void) |
Disable Internal Oscillator Calibration. More... | |
void | CHILI_TimersInit (void) |
(Re-)Initialise System Timers More... | |
void | CHILI_SystemReInit () |
System Re-Initialisation. More... | |
ca_error CHILI_ClockInit | ( | void | ) |
Select System Clocks depending on Power Source.
void CHILI_CompleteClockInit | ( | void | ) |
Completes Clock (Re-)Initialisation.
void CHILI_DisableIntOscCal | ( | void | ) |
Disable Internal Oscillator Calibration.
void CHILI_EnableIntOscCal | ( | void | ) |
Enable Internal Oscillator Calibration.
void CHILI_GPIOEnableInterrupts | ( | void | ) |
Enable GPIO Interrupts.
void CHILI_GPIOInit | ( | void | ) |
Initialise Essential GPIOs for various Functions.
void CHILI_GPIOPowerDown | ( | u8_t | useGPIOforWakeup | ) |
Re-program GPIOs for PowerDown.
useGPIOforWakeup | - bool: GPIOs for wakeup |
void CHILI_GPIOPowerUp | ( | void | ) |
Re-program GPIOs for active Mode after PowerDown.
void CHILI_SystemReInit | ( | void | ) |
System Re-Initialisation.
void CHILI_TimersInit | ( | void | ) |
(Re-)Initialise System Timers