![]() |
SparkFun Toolkit
v1.0.5-6-g34ffa30
Core Functionality Library
|
Implementation file for the SparkFun Toolkit. More...
#include "sfToolkit.h"
Functions | |
sfTkByteOrder | sftk_system_byteorder (void) |
C function - Runtime check for system byte order. More... | |
uint8_t | sftk_byte_swap (uint8_t i) |
to catch 8 bit calls for byte swap More... | |
uint16_t | sftk_byte_swap (uint16_t i) |
function - Byte swap a 16 bit value More... | |
uint32_t | sftk_byte_swap (uint32_t i) |
function - Byte swap a 32 bit value More... | |
int16_t | sftk_byte_swap (int16_t i) |
function - Byte swap an int 16 More... | |
int32_t | sftk_byte_swap (int32_t i) |
function - Byte swap an int 32 More... | |
Implementation file for the SparkFun Toolkit.
This file contains the implementation of various utility functions for the SparkFun Toolkit library.
SPDX-License-Identifier: MIT
int16_t sftk_byte_swap | ( | int16_t | i | ) |
function - Byte swap an int 16
int32_t sftk_byte_swap | ( | int32_t | i | ) |
function - Byte swap an int 32
uint16_t sftk_byte_swap | ( | uint16_t | i | ) |
function - Byte swap a 16 bit value
uint32_t sftk_byte_swap | ( | uint32_t | i | ) |
function - Byte swap a 32 bit value
uint8_t sftk_byte_swap | ( | uint8_t | i | ) |
to catch 8 bit calls for byte swap
sfTkByteOrder sftk_system_byteorder | ( | void | ) |
C function - Runtime check for system byte order.