Term
|
Definition
Core of a microcontroller |
|
|
Term
|
Definition
outside of the core, I/O devices GPIO Timers interrupt controller communication ports A/D converter |
|
|
Term
Peripheral units composed of |
|
Definition
Function hardware- counters for timers,packet framing circuits for communication ports Config Registers- addressable memory to set how function hardware behaves data registers- data bytes to/from communication ports,timer values, ADC values all of these are memory mapped |
|
|
Term
|
Definition
Each register has a unique address in the controller memory space so it can be read/written |
|
|
Term
|
Definition
physical contact on the controller package that connects to peripheral functions permits interface to outside world can be input, outputs or both |
|
|
Term
|
Definition
Collection of several pints that can be addressed as a unit |
|
|
Term
|
Definition
To minimize package pins, most ports serve multiple functions |
|
|
Term
PCR (pin control register) |
|
Definition
sets alternate pin functions set by MUX bits in the PCR |
|
|
Term
PCR registers to pin, to port, how many global pin registers and ISFR |
|
Definition
one register for each pin, 32 registers for each port, 2 global. pin control registers (allow simulataneous, config of PCR registers) one ISFR |
|
|
Term
|
Definition
Interupt status flag pin 24 0=none 1= interrupt; write to reset |
|
|
Term
|
Definition
pin mux control select alt function for each pin (10:8) |
|
|
Term
|
Definition
Drive strength enable 0=low, 1= high strength |
|
|
Term
|
Definition
Pull enable, pullup/down resistor- 0 disable, 1= enable |
|
|
Term
|
Definition
|
|
Term
|
Definition
1) read current value from config register 2) modify only the bits you want to set using (ORRS) or clear (BICS) 3)WRITE modified value back to config register |
|
|
Term
Configuring gpio requires 3 steps |
|
Definition
1)Enable port clocks- disabled by default (SIM_SCGC5) controls clocks to ports A-E 2)set pin function to GPIO using PCR- Config Multi tasking port to the GPIO function 3)Set pin data direction- pins can be input or output as determined by PDDR |
|
|
Term
|
Definition
Enables output to physical pin,each port has one register for data direction each ddr has one bit for direction of each pin 0= INPUT 1= OUTPUT |
|
|
Term
|
Definition
latch that holds data to be output to each pin if PDDR=1 Config logic level on output pins of port |
|
|
Term
|
Definition
Set output 0= bits in PDOR dont change 1= bits in pdor set to logic 1 |
|
|
Term
|
Definition
Clear output 0= do not change 1= clear to logic 0 |
|
|
Term
|
Definition
Toggle output 0= do not change 1= set to inverse of current logic |
|
|
Term
|
Definition
stores value on each pin of a port Data input 0= logic 0 1= logic 1 |
|
|