µC/BuildingBlocks Overview

Introduction

µC/BuildingBlocks groups embedded software components into a product category. These components are basic embedded software module used with simple hardware peripherals.

μC/Clk

μC/ Clk is a component that implements a Year 2000 compliant clock/calendar module. The clock/calendar module offers the following features:

  • Maintains time using a 32-bit running counter, starting at 2000/01/01 00:00:00 GMT.
  • Allows your application to obtain timestamps to mark the occurrence of events. A μC/Clk timestamp is a copy of the internal 32-bit running counter.
  • Three timestamps types are supported:
    • μC/Clk timestamps, which covers years 2000 to 2135 with one second resolution;
    • UNIX timestamps, which covers years 1970 to 2105 with one second resolution;
    • NTP (Network Time Protocol) timestamps, which covers years 1900 to 2035 with one second resolution;
  • Allows your application to get the current date and time into a structured data type named CLK_DATE_TIME which contains year , month , day , day_of_week , hour , minute , seconds and time_zone .
  • Allows conversion from and to all types of timestamps and CLK_DATE_TIME , get and set the internal 32-bit running counter using any of the four data types.

μC/Clk can be used with μC/ SNTPc to obtain the current date and time from a Network Time Protocol server.


μC/LCD

µC/LCD is a component that allows you to interface with character LCD (Liquid Crystal Display) modules which are based on the highly popular HD44780 Dot Matrix LCD Controller & Driver. µC/ LCD allows you to:

· Control LCD modules containing up to 80 characters.

· Display ASCII characters.

· Display ASCII strings.

· Define up to eight symbols based on a 5x7 dot matrix.

· Display horizontal and vertical bar graphs.