NRF24L+ STM8 Compatible Library
|
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"
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) |
This file is used to configure the Library.
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.
#define assert_param | ( | expr | ) | ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) |
The assert_param macro is used for function's parameters check.
expr | If 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. |
None |
#define USE_FULL_ASSERT (1) |
void assert_failed | ( | uint8_t * | file, |
uint32_t | line | ||
) |