Conventions

Various typographical conventions have been used in this book, as follows:

• Normal assembly program codes:

MOV   R0, R1  ; Move data from Register R1 to Register R0

• Assembly code in generalized syntax; items inside “< >” must be replaced by real register names:

MRS <reg>, <special_reg>

• C program codes:

for (i=0;i<3;i++) { func1(); }

• Values:

1. 4'hC , 0x123 are both hexadecimal values

2. #3 indicates item number 3 (e.g., IRQ #3 means IRQ number 3)

3. #immed_12 refers to 12-bit immediate data

• Register bits:

Typically used to illustrate a part of a value based on bit position. For example, bit[15:12] means bit number 15 down to 12.

• Register access types:

1. R is Read only

2. W is Write only

3. R/W is Read or Write accessible ...

Get The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.