Skip to content

Commit 9c458ad

Browse files
let codex fix typos and grammar
1 parent 3203ce9 commit 9c458ad

63 files changed

Lines changed: 323 additions & 316 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/headers/compression.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ compression.h
77
88
#include <compression.h>
99
10-
This header includes protoypes for various (de)compression routines.
10+
This header includes prototypes for various (de)compression routines.
1111

1212
.. contents:: :local:
1313
:depth: 3

docs/headers/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Miscellaneous Headers
44
=====================
55

6-
These headers contain various defines and prototypes, as well as any backwards compatibility definitions.
6+
These headers contain various definitions and prototypes, as well as backward compatibility definitions.
77

88
.. toctree::
99
:maxdepth: 1
@@ -13,4 +13,4 @@ These headers contain various defines and prototypes, as well as any backwards c
1313
intce
1414
tice
1515

16-
Click any of the above links to navigate to the header's documentation.
16+
Click any of the above links to navigate to the headers' documentation.

docs/headers/intce.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ intce.h
77
88
#include <intce.h>
99
10-
This header includes defines and prototypes for working with user interrupts.
10+
This header includes definitions and prototypes for working with user interrupts.
1111

1212
.. warning::
1313

docs/headers/sys/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
CE Hardware Headers
44
===================
55

6-
These headers are specific to the calculator's hardware, and contain various defines and prototypes.
6+
These headers are specific to the calculator's hardware and contain various definitions and prototypes.
77

88
.. toctree::
99
:maxdepth: 1
@@ -16,4 +16,4 @@ These headers are specific to the calculator's hardware, and contain various def
1616
timers
1717
util
1818

19-
Click any of the above links to navigate to the header's documentation.
19+
Click any of the above links to navigate to the headers' documentation.

docs/headers/sys/lcd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sys/lcd.h
77
88
#include <sys/lcd.h>
99
10-
This header includes defines for the PL111 LCD controller used in the CE.
10+
This header includes definitions for the PL111 LCD controller used in the CE.
1111

1212
.. contents:: :local:
1313
:depth: 3

docs/headers/sys/rtc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sys/rtc.h
77
88
#include <sys/rtc.h>
99
10-
This header includes defines for the Real-Time Clock (RTC) used in the CE.
10+
This header includes definitions for the Real-Time Clock (RTC) used in the CE.
1111
The toolchain allows both direct access to the hardware registers, and using TI's helper routines.
1212

1313
.. contents:: :local:

docs/headers/sys/timers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ sys/timers.h
77
88
#include <sys/timers.h>
99
10-
This header includes defines for the CE's 3 hardware timers.
11-
It is discouraged from directly modifying the timers themseleves, and instead use the standard C `clock()` fuction.
10+
This header includes definitions for the CE's three hardware timers.
11+
Do not directly modify the timers themselves; instead, use the standard C `clock()` function.
1212
This is because the toolchain uses the timers in the following way:
1313

1414
* Timer 1 is used for `clock()` and related functions like `sleep()`.
1515
* Timer 2 is used by the :ref:`usbdrvce library <usbdrvce_h>`.
16-
* Timer 3 is used by the TI-OS USB stack and shouldn't be touched in most every case.
16+
* Timer 3 is used by the TI-OS USB stack and shouldn't be touched in almost every case.
1717

1818
Directly manipulating the hardware timers may cause the above functions and/or libraries to not work correctly.
19-
However, for example if you aren't using usbdrvce it is possible to use Timer 2 in your application.
19+
However, for example, if you aren't using usbdrvce it is possible to use Timer 2 in your application.
2020

2121
There are two possible timing ("clock") sources: a 32768 Hz crystal with similar accuracy to the clock found in any smartphone or wristwatch, and the CPU's main 48 MHz clock with likely much inferior accuracy.
2222

docs/headers/sys/util.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sys/util.h
77
88
#include <sys/util.h>
99
10-
This header includes defines for miscellaneous CE-specific things.
10+
This header includes definitions for miscellaneous CE-specific things.
1111

1212
.. contents:: :local:
1313
:depth: 3

docs/headers/ti/error.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ti/error.h
1010
Exceptions in languages like Python provide a structured way of handling rare error conditions.
1111
TI calls their implementation of this idea error handlers.
1212

13-
When the OS encounters an unsusal condition such as divide-by-zero or out-of-memory, it looks for an active error handler.
14-
If no active error handlers exist, the OS will display the :code:`ERR:` screen.
13+
When the OS encounters an unusual condition such as division by zero or out-of-memory, it looks for an active error handler.
14+
If no active error handler exists, the OS will display the :code:`ERR:` screen.
1515
If an active error handler does exist, it gets control instead of showing the :code:`ERR:` screen.
1616

1717
Unlike exception handlers, TI's error handlers do not differentiate between error codes; the same error handler is called for all errors.
1818
However, error handlers do support nesting.
19-
If an handler decides that it can't handle an error, it can rethrow it.
19+
If a handler decides that it can't handle an error, it can rethrow it.
2020

2121
.. warning::
2222

docs/headers/ti/flags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ti/flags.h
77
88
#include <ti/flags.h>
99
10-
TI's operating system has a lot of simple states it keeps track of, such as whether 2nd has been pressed.
11-
These settings are stored in a structure called the system flags, and can be accessed quickly by the OS.
10+
TI's operating system tracks many simple states, such as whether 2nd has been pressed.
11+
These settings are stored in a structure called the system flags and can be accessed quickly by the OS.
1212
Most of these flags are useful only if you need to access OS mathematical or UI functions.
1313

1414
.. contents:: :local:

0 commit comments

Comments
 (0)