@@ -49,7 +49,7 @@ Zephyr provides a set of device drivers for multiple boards. Each driver
49
49
should support an interrupt-based implementation, rather than polling, unless
50
50
the specific hardware does not provide any interrupt.
51
51
52
- High-level calls accessed through devices's specific API , such as i2c.h
52
+ High-level calls accessed through device- specific APIs , such as i2c.h
53
53
or spi.h, are usually intended as synchronous. Thus, these calls should be
54
54
blocking.
55
55
@@ -147,7 +147,7 @@ the normal course of operation (such as a storage device full). Bad
147
147
parameters, programming errors, consistency checks, pathological/unrecoverable
148
148
failures, etc., should be handled by assertions.
149
149
150
- When it is appropriate to return error condtitions for the caller to check, 0
150
+ When it is appropriate to return error conditions for the caller to check, 0
151
151
should be returned on success and a POSIX errno.h code returned on failure.
152
152
See https://wiki.zephyrproject.org/view/Coding_conventions#Return_Codes for
153
153
details about this.
@@ -280,7 +280,7 @@ executed. Any driver will specify one of five initialization levels:
280
280
`PRE_KERNEL_2 `
281
281
Used for devices that rely on the initialization of devices initialized
282
282
as part of the PRIMARY level. These devices cannot use any kernel
283
- services during configuration, since the kerne services are not yet
283
+ services during configuration, since the kernel services are not yet
284
284
available. Init functions at this level run on the interrupt stack.
285
285
286
286
`POST_KERNEL `
0 commit comments