WIZlib Library API  ver 1.0
WIZlib Library API User Menual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
wizplatform.h File Reference

Platform Utility Common Header File. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PUTCHAR(ch_v)
 Define the compiler independent function which put character.
 
#define GETCHAR()
 Define the compiler independent function which get character.
 
#define wizpf_led_flicker(led_v, interval_v)
 Flicker a LED for debug with some interval. More...
 

Enumerations

enum  wizpf_usart { WIZ_USART1, WIZ_USART2, WIZ_USART3 }
 Indicate the USART index number. More...
 
enum  wizpf_led { WIZ_LED1, WIZ_LED2, WIZ_LED3, WIZ_LED4 }
 Indicate the LED index number. More...
 
enum  wizpf_gpio_mode {
  WIZ_GPIO_IN_FLOAT, WIZ_GPIO_IN_PULLUP, WIZ_GPIO_IN_PULLDOWN, WIZ_GPIO_OUT_PUSHPULL,
  WIZ_GPIO_OUT_OPENDRAIN
}
 Indicate the GPIO mode. More...
 

Functions

int8 platform_init (void)
 Initialize Platform. More...
 
int8 wizpf_uart_init (wizpf_usart usart)
 Initialize USART Peripheral Device. More...
 
int8 wizpf_gpio_init (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin, wizpf_gpio_mode mode)
 GPIO configuration. More...
 
int8 wizpf_gpio_set (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin, int8 value)
 GPIO Set. More...
 
int8 wizpf_gpio_get (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin)
 GPIO Get. More...
 
int8 wizpf_timer_init (void)
 Initialize TIMER Peripheral Device. More...
 
uint32 wizpf_get_systick (void)
 Get current SysTick. More...
 
uint32 wizpf_tick_conv (bool istick2sec, uint32 tickorsec)
 Convert Tick(Second) to Second(Tick). More...
 
int32 wizpf_tick_elapse (uint32 tick)
 Calculate Elapsed time (or Remaining time) [+]value is Elapsed-time, [-]value is Remaining-time. More...
 
int8 wizpf_led_set (wizpf_led led, uint8 action)
 Set LED On/Off/Toggle. More...
 
int8 wizpf_led_get (wizpf_led led)
 Get current LED State. More...
 
void wizpf_led_trap (uint8 repeat)
 Assert Function using LED. More...
 
void device_HW_reset (void)
 Reset the Network Device.
 
void GPIO_Configuration (void)
 Common GPIO Configuration.
 
void RCC_Configuration (void)
 Common RCC Configuration.
 
void NVIC_Configuration (void)
 Common NVIC Configuration.
 
void Delay_us (uint8 time_us)
 Micro-second Scale Delay Function. More...
 
void Delay_ms (uint16 time_ms)
 Mili-second Scale Delay Function. More...
 
void Delay_tick (uint32 tick)
 Tick Delay Function. More...
 
int32 getchar_nonblk (void)
 Get one character from USART1 (None-Blocking). More...
 

Detailed Description

Platform Utility Common Header File.

Version
1.0
Date
2013/02/22
Revision
2013/02/22 - 1.0 Release
Author
Mike Jeong

Copyright (C) 2013 WIZnet. All rights reserved.

Definition in file wizplatform.h.