|
| void | BSP_WaitUs (u32_t us) |
| | Wait for specified Time in Microseconds (max.
|
| |
| void | BSP_ResetRF (u8_t ms) |
| | Reset CAX RF Chip.
|
| |
| u8_t | BSP_SenseRFIRQ (void) |
| | Sense whether SPI IRQ is high or low.
|
| |
| void | BSP_DisableRFIRQ () |
| | Inhibit SPI IRQ, suppresses interrupt but still latches it.
|
| |
| void | BSP_EnableRFIRQ () |
| | Allow SPI IRQ, re-enabling interrupt after BSP_DisableRFIRQ()
|
| |
| void | BSP_SetRFSSBHigh (void) |
| | Put SPI Select (SSB) Pin high.
|
| |
| void | BSP_SetRFSSBLow (void) |
| | Put SPI Select (SSB) Pin low.
|
| |
| void | BSP_EnableSerialIRQ (void) |
| | Enable the serial (usb/uart) irq.
|
| |
| void | BSP_DisableSerialIRQ (void) |
| | Disable the serial (usb/uart) irq.
|
| |
| u64_t | BSP_GetUniqueId (void) |
| | Get a 64-bit ID that is unique to this device.
|
| |
| const char * | BSP_GetPlatString (void) |
| | Get a string that describes this device.
|
| |
| u8_t | BSP_GetChargeStat (void) |
| | Get Microchip MCP73831 Charge Status.
|
| |
| u8_t | BSP_GetVBUSConnected (void) |
| | Get USB VBUS status (connected/not connected)
|
| |
| i32_t | BSP_GetTemperature (void) |
| | Measure and Read Temperature Value.
|
| |
| u32_t | BSP_ADCGetVolts (void) |
| | Measure and Read Battery Volts Value from ADC.
|
| |
| void | BSP_SPIInit (void) |
| | Initialise GPIO and SPI Pins for Comms with CA-821X.
|
| |
| void | BSP_SPIExchange (uint8_t *RxBuf, const uint8_t *TxBuf, uint8_t RxLen, uint8_t TxLen) |
| |
| void | BSP_PowerDown (u32_t sleeptime_ms, u8_t use_timer0, dpd_flag dpd) |
| | Set up wake on timer/IRQ, Power down MCU and return on wakeup.
|
| |
| void | BSP_SetPowerDown (void) |
| | Set flag that system has started power-down sequence.
|
| |
| void | BSP_SetSPIMOSIOutput (void) |
| | Connect MOSI port to SPI MOSI and disable pull-up.
|
| |
| void | BSP_SetSPIMOSITristate (void) |
| | Disconnect MOSI port from SPI MOSI and put to tristate with pull-up.
|
| |
| wakeup_reason | BSP_GetWakeupReason (void) |
| | Reason MCU has woken up after reset.
|
| |
| void | BSP_UseExternalClock (u8_t useExternalClock) |
| | Enable or disable the usage of the external clock from the CA821x.
|
| |
| void | BSP_SystemReset (sysreset_mode resetMode) |
| | **OPTIONAL Function Declarations for cascoda_bsp_*.c
|
| |
| ca_error | BSP_SetBootMode (sysreset_mode bootMode) |
| | Set the default boot mode for the device.
|
| |
| void | BSP_Waiting (void) |
| | This function will be called repeatedly when the Baremetal drivers are blocking & waiting (eg.
|
| |
| void | BSP_Initialise (struct ca821x_dev *pDeviceRef) |
| | Initialise the system for a given ca821x_dev.
|
| |
| void | BSP_WatchdogEnable (u32_t timeout_ms) |
| | Watchdog Enable.
|
| |
| void | BSP_WatchdogReset (void) |
| | Watchdog Reset and Restart.
|
| |
| u8_t | BSP_IsWatchdogTriggered (void) |
| | Checks if the watchdog has been triggered, clears the warning if so.
|
| |
| void | BSP_WatchdogDisable (void) |
| | Watchdog Disable.
|
| |
| void | BSP_EnableUSB (void) |
| | Enable the USB if connected.
|
| |
| void | BSP_DisableUSB (void) |
| | Disable the USB.
|
| |
| u8_t | BSP_IsUSBPresent (void) |
| | Is the USB connected?
|
| |
| fsys_mhz | BSP_GetSystemFrequency (void) |
| | Returns the system frequency.
|
| |
| void | BSP_SystemConfig (fsys_mhz fsys, u8_t enable_comms) |
| | re-configures system clock frequency and comms interface
|
| |
| bool | BSP_IsInsideInterrupt (void) |
| | Is the code running in an interrupt context?
|
| |
| void | BSP_FlashLock (void) |
| | Prevent ICP access to Flash.
|
| |