STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
board.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for board.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOARD_DMA_BUFFER   __attribute__((section(".dma_buffers"), aligned(32)))

Functions

bool board_soft_init (void(*init)(void))
bool board_error_is_soft (void)
uint32_t board_now_ms (void)
static bool board_deadline_passed (uint32_t deadline_ms)
static uint32_t board_ms_left (uint32_t deadline_ms)

Macro Definition Documentation

◆ BOARD_DMA_BUFFER

#define BOARD_DMA_BUFFER   __attribute__((section(".dma_buffers"), aligned(32)))

Definition at line 36 of file board.h.

Function Documentation

◆ board_deadline_passed()

bool board_deadline_passed ( uint32_t deadline_ms)
inlinestatic

◆ board_error_is_soft()

bool board_error_is_soft ( void )

Definition at line 8 of file board.c.

References soft_failed, and soft_section.

Referenced by Error_Handler().

◆ board_ms_left()

uint32_t board_ms_left ( uint32_t deadline_ms)
inlinestatic

Definition at line 47 of file board.h.

References board_now_ms().

Referenced by board_spi_lock(), gnss_probe(), and shift().

◆ board_now_ms()

◆ board_soft_init()

bool board_soft_init ( void(* init )(void))

Definition at line 16 of file board.c.

References soft_failed, and soft_section.

Referenced by emmc_identify().