NRF24L+ STM8 Compatible Library
Macros | Functions | Variables
main.c File Reference

This file contains the main function for: retarget the C library printf scanf functions to the UART1 example. More...

#include "stm8s.h"
#include "stm8s_it.h"
#include "stdio.h"
#include "delay.h"
#include "mirf.h"
Include dependency graph for main.c:

Macros

#define PUTCHAR_PROTOTYPE   void putchar(char c)
 
#define GETCHAR_PROTOTYPE   char getchar(void)
 

Functions

void secondary ()
 
void main (void)
 Main program. More...
 

Variables

unsigned int bIntFlag
 

Detailed Description

This file contains the main function for: retarget the C library printf scanf functions to the UART1 example.

Author
MCD Application Team, Nicolas Gutierrez
Version
V1
Date
9-December-2023
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

◆ GETCHAR_PROTOTYPE

#define GETCHAR_PROTOTYPE   char getchar(void)

◆ PUTCHAR_PROTOTYPE

#define PUTCHAR_PROTOTYPE   void putchar(char c)

Function Documentation

◆ main()

void main ( void  )

Main program.

Parameters
None
Return values
None
Here is the call graph for this function:

◆ secondary()

void secondary ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bIntFlag

unsigned int bIntFlag