NRF24L+ STM8 Compatible Library
Macros | Functions
stm8s_conf.h File Reference

This file is used to configure the Library. More...

#include "stm8s.h"
#include "stm8s_clk.h"
#include "stm8s_exti.h"
#include "stm8s_gpio.h"
#include "stm8s_spi.h"
Include dependency graph for stm8s_conf.h:

Go to the source code of this file.

Macros

#define USE_FULL_ASSERT   (1)
 
#define assert_param(expr)   ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
 The assert_param macro is used for function's parameters check. More...
 

Functions

void assert_failed (uint8_t *file, uint32_t line)
 

Detailed Description

This file is used to configure the Library.

Author
MCD Application Team
Version
V2.0.4
Date
26-April-2018
Attention

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Macro Definition Documentation

◆ assert_param

#define assert_param (   expr)    ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))

The assert_param macro is used for function's parameters check.

Parameters
exprIf expr is false, it calls assert_failed function which reports the name of the source file and the source line number of the call that failed. If expr is true, it returns no value.
Return values
None

◆ USE_FULL_ASSERT

#define USE_FULL_ASSERT   (1)

Function Documentation

◆ assert_failed()

void assert_failed ( uint8_t *  file,
uint32_t  line 
)