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 Syntax MCHPRT REGR X
REGR
  • REGR refers to using I2C
  • REGR_UART refers to using UART
X X refers to the register number that reads and prints the value
Example MCHPRT 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 Syntax MCHPRT 16 REGR X
X X refers to the register number that reads and prints the value
Example MCHPRT 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