27.6.10 Control

Name: CTRL
Offset: 0x24
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
 SAMPLING31SAMPLING30SAMPLING29SAMPLING28SAMPLING27SAMPLING26SAMPLING25SAMPLING24 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 SAMPLING23SAMPLING22SAMPLING21SAMPLING20SAMPLING19SAMPLING18SAMPLING17SAMPLING16 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 SAMPLING15SAMPLING14SAMPLING13SAMPLING12SAMPLING11SAMPLING10SAMPLING9SAMPLING8 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 SAMPLING7SAMPLING6SAMPLING5SAMPLING4SAMPLING3SAMPLING2SAMPLING1SAMPLING0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 – SAMPLINGn Input Sampling Mode n

These bits control the input sampling functionality of the I/O pin input samplers, for pins configured as inputs through the Data Direction register (DIR).

The input samplers are enabled and disabled in subgroups of eight pins. Therefore, if any pin within a byte requests continuous sampling, all pins in that eight-pin subgroup will be continuously sampled.

ValueDescription
0On-demand sampling is enabled for the eight I/O pins in the PORT group corresponding to the byte location of this bit
1Continuous sampling is enabled for the eight I/O pins in the PORT group corresponding to the byte location of this bit