Hitex QA2 Tile Hill Style Guide: C Style Guide for Embedded Systems

This manual is for C language programmers, and introduces how to write high quality C language code. It is suitable for embedded system development.


Hitex QA2 Tile Hill Style Guide: C Style Guide for Embedded Systems - cover page
Brand
Hitex
Category
Programming
Document type
Other
Language
English
Pages
55
File format
PDF
File size
495 KB
Published
26 October, 2023
Updated
26 October, 2023
MD5 checksum
30FF8EB532335CB301F138DCC6AFC7C0

About this manual

This document is the Tile Hill Style Guide, a C style guide for embedded systems written by Chris Hills and published as part of the QuEST series (QA2) by Hitex (UK) Ltd, with copyright held by Phaedrus Systems. The first edition 1.1 is dated 23 June 2002. The guide explains that it covers source code layout rather than the safe use of C, which it says is handled by guides such as MISRA-C.

The guide describes its own history and availability, then sets out rules on files and file name extensions, templates for source, function and header files, braces, constants, defines and types, structures and unions, flow control and comments. Later sections cover version control and other tools such as Lint and static analysis and DA-C, source code templates for several version control systems, a Lint example program and a list of references.

What's inside

  • Introduction
  • The Tile Hill Style Guide - History
  • Availability and templates
  • Version control and other tools
  • Lint & static analysis
  • Files and file name extensions
  • Templates for files and functions
  • Braces
  • Constants, Defines and Types
  • Structures and Unions

Frequently asked questions

What is the Tile Hill Style Guide?

It is a C style guide for embedded systems written by Chris Hills, first edition 1.1 dated 23 June 2002, published as part of the QuEST series.

Where can I get the style guide and its source code templates?

The guide is freely available in electronic form with all the source code templates from the Hitex and quest.phaedsys.org websites.

Why is it called the Tile Hill guide?

It is named after Tile Hill in Coventry, UK, near Hitex (UK) where the author was working at the time of its first wider publication; the title also plays on the Indian Hill C style document.

How is this style guide different from MISRA-C?

The style guide covers source code layout and readability, while MISRA-C is described as a guide for the safe use of a subset of C.

Download PDF (495 KB)

More Hitex Manuals


View all Hitex manuals →