board_4166.h File Reference

BOARD module header file.

Version
5.5.0

License

Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com

This file is licensed under the Silicon Labs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file board_4166.h .

#include <stdint.h>

Typedefs

typedef void(* BOARD_IrqCallback ) (void)

Functions

void BOARD_alsSetIRQCallback ( BOARD_IrqCallback cb)
Function to register the ALS sensor interrupt callback function.
void BOARD_gasSensorSetIRQCallback ( BOARD_IrqCallback cb)
Function to register the gas sensor interrupt callback function.
void BOARD_hallSensorClearIRQ (void)
Function to clear the Hall sensor interrupt.
uint32_t BOARD_hallSensorEnable (bool enable)
Enables or disables the Hall sensor.
uint32_t BOARD_hallSensorEnableIRQ (bool enable)
Enables or disables the Hall sensor GPIO interrupt.
void BOARD_hallSensorSetIRQCallback ( BOARD_IrqCallback cb)
Function to register the Hall sensor interrupt callback function.
void BOARD_imuSetIRQCallback ( BOARD_IrqCallback cb)
Function to register the IMU sensor interrupt callback function.
void BOARD_pushButton0ClearIRQ (void)
Function to clear the pushbutton 0 interrupt.
void BOARD_pushButton0SetIRQCallback ( BOARD_IrqCallback cb)
Function to register the pushbutton 0 interrupt callback function.
void BOARD_pushButton1ClearIRQ (void)
Function to clear the pushbutton 1 interrupt.
void BOARD_pushButton1SetIRQCallback ( BOARD_IrqCallback cb)
Function to register the pushbutton 1 interrupt callback function.

Typedef Documentation

typedef void(* BOARD_IrqCallback) (void)

Interrupt callback function type definition

Definition at line 21 of file board_4166.h .