3.4.1 Read

The following table provides the command syntax for Reg value read before initialization.

Table 3-32. Reg Value Read: Before Initialization ATWINC/ATWILC
Command SyntaxMCHPRT REGR X
REGR
  • REGR refers to using I2C
  • REGR_UART refers to using UART
XX refers to the register number that reads and prints the value
ExampleMCHPRT REGR 0

Reg 0 value will be printed

The following figure shows the example of reg value read before initialization.

Figure 3-39. Console Log of Reg Value Read Before Initialization

The following table provides the command syntax for Reg value read after initialization.

Table 3-33. Reg Value Read: After Initialization ATWINC/ATWILC
Command SyntaxMCHPRT 16 REGR X
XX refers to the register number that reads and prints the value
ExampleMCHPRT 16 REGR 0

Reg 0 value will be printed

The following figure shows the example of reg value read after initialization.

Figure 3-40. Console Log of Reg Value Read After Initialization