NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sdcard_standard.c File Reference
#include <stdint.h>
#include "sdcard_standard.h"
Include dependency graph for sdcard_standard.c:

Macros

#define MIN(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

uint32_t readBitfield (uint8_t *buffer, unsigned bitIndex, unsigned bitLen)
 

Macro Definition Documentation

#define MIN (   a,
 
)    ((a) < (b) ? (a) : (b))

Function Documentation

uint32_t readBitfield ( uint8_t *  buffer,
unsigned  bitIndex,
unsigned  bitLen 
)

Read a bitfield from an array of bits (the bit at index 0 being the most-significant bit of the first byte in the buffer).